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

SupermodelIRStatsFromJSONTyped() — typescript-sdk Function Reference

Architecture documentation for the SupermodelIRStatsFromJSONTyped() function in SupermodelIRStats.ts from the typescript-sdk codebase.

Entity Profile

Dependency Diagram

graph TD
  818ddef8_7797_1f06_d4b8_946888e2b8dc["SupermodelIRStatsFromJSONTyped()"]
  096cd5c9_133b_6391_1dbf_dc00876c48c2["SupermodelIRStatsFromJSON()"]
  096cd5c9_133b_6391_1dbf_dc00876c48c2 -->|calls| 818ddef8_7797_1f06_d4b8_946888e2b8dc
  style 818ddef8_7797_1f06_d4b8_946888e2b8dc fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

src/models/SupermodelIRStats.ts lines 59–70

export function SupermodelIRStatsFromJSONTyped(json: any, ignoreDiscriminator: boolean): SupermodelIRStats {
    if (json == null) {
        return json;
    }
    return {
        
        'nodeCount': json['nodeCount'] == null ? undefined : json['nodeCount'],
        'relationshipCount': json['relationshipCount'] == null ? undefined : json['relationshipCount'],
        'nodeTypes': json['nodeTypes'] == null ? undefined : json['nodeTypes'],
        'relationshipTypes': json['relationshipTypes'] == null ? undefined : json['relationshipTypes'],
    };
}

Domain

Subdomains

Frequently Asked Questions

What does SupermodelIRStatsFromJSONTyped() do?
SupermodelIRStatsFromJSONTyped() is a function in the typescript-sdk codebase.
What calls SupermodelIRStatsFromJSONTyped()?
SupermodelIRStatsFromJSONTyped() is called by 1 function(s): SupermodelIRStatsFromJSON.

Analyze Your Own Codebase

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

Try Supermodel Free