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

instanceOfUntestedFunction() — typescript-sdk Function Reference

Architecture documentation for the instanceOfUntestedFunction() function in UntestedFunction.ts from the typescript-sdk codebase.

Entity Profile

Relationship Graph

Source Code

src/models/UntestedFunction.ts lines 120–128

export function instanceOfUntestedFunction(value: object): value is UntestedFunction {
    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 (!('confidence' in value) || value['confidence'] === undefined) return false;
    if (!('reason' in value) || value['reason'] === 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