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

instanceOfAliveCodeItem() — typescript-sdk Function Reference

Architecture documentation for the instanceOfAliveCodeItem() function in AliveCodeItem.ts from the typescript-sdk codebase.

Entity Profile

Relationship Graph

Source Code

src/models/AliveCodeItem.ts lines 73–80

export function instanceOfAliveCodeItem(value: object): value is AliveCodeItem {
    if (!('file' in value) || value['file'] === undefined) return false;
    if (!('name' in value) || value['name'] === undefined) return false;
    if (!('line' in value) || value['line'] === undefined) return false;
    if (!('type' in value) || value['type'] === undefined) return false;
    if (!('callerCount' in value) || value['callerCount'] === 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