Home / Function/ instanceOfSupermodelArtifact() — typescript-sdk Function Reference

instanceOfSupermodelArtifact() — typescript-sdk Function Reference

Architecture documentation for the instanceOfSupermodelArtifact() function in SupermodelArtifact.ts from the typescript-sdk codebase.

Entity Profile

Relationship Graph

Source Code

src/models/SupermodelArtifact.ts lines 51–56

export function instanceOfSupermodelArtifact(value: object): value is SupermodelArtifact {
    if (!('id' in value) || value['id'] === undefined) return false;
    if (!('kind' in value) || value['kind'] === undefined) return false;
    if (!('label' in value) || value['label'] === undefined) return false;
    return true;
}

Domain

Subdomains

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free