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

instanceOfDomainClassificationResponse() — typescript-sdk Function Reference

Architecture documentation for the instanceOfDomainClassificationResponse() function in DomainClassificationResponse.ts from the typescript-sdk codebase.

Entity Profile

Relationship Graph

Source Code

src/models/DomainClassificationResponse.ts lines 154–166

export function instanceOfDomainClassificationResponse(value: object): value is DomainClassificationResponse {
    if (!('runId' in value) || value['runId'] === undefined) return false;
    if (!('graph' in value) || value['graph'] === undefined) return false;
    if (!('metadata' in value) || value['metadata'] === undefined) return false;
    if (!('domains' in value) || value['domains'] === undefined) return false;
    if (!('relationships' in value) || value['relationships'] === undefined) return false;
    if (!('fileAssignments' in value) || value['fileAssignments'] === undefined) return false;
    if (!('functionAssignments' in value) || value['functionAssignments'] === undefined) return false;
    if (!('unassignedFunctions' in value) || value['unassignedFunctions'] === undefined) return false;
    if (!('classAssignments' in value) || value['classAssignments'] === undefined) return false;
    if (!('stats' in value) || value['stats'] === 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