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

Dependency Diagram

graph TD
  1de138e1_8fb1_d89c_e2b4_fca6ebbf13f6["instanceOfSupermodelArtifact()"]
  9304565f_42d3_68a0_a8b9_0e2f54de3150["SupermodelArtifact.ts"]
  1de138e1_8fb1_d89c_e2b4_fca6ebbf13f6 -->|defined in| 9304565f_42d3_68a0_a8b9_0e2f54de3150
  style 1de138e1_8fb1_d89c_e2b4_fca6ebbf13f6 fill:#6366f1,stroke:#818cf8,color:#fff

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

Frequently Asked Questions

What does instanceOfSupermodelArtifact() do?
instanceOfSupermodelArtifact() is a function in the typescript-sdk codebase, defined in src/models/SupermodelArtifact.ts.
Where is instanceOfSupermodelArtifact() defined?
instanceOfSupermodelArtifact() is defined in src/models/SupermodelArtifact.ts at line 51.

Analyze Your Own Codebase

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

Try Supermodel Free