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

instanceOfTestedFunction() — typescript-sdk Function Reference

Architecture documentation for the instanceOfTestedFunction() function in TestedFunction.ts from the typescript-sdk codebase.

Entity Profile

Relationship Graph

Source Code

src/models/TestedFunction.ts lines 85–94

export function instanceOfTestedFunction(value: object): value is TestedFunction {
    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 (!('testFiles' in value) || value['testFiles'] === undefined) return false;
    if (!('directTestCallers' in value) || value['directTestCallers'] === undefined) return false;
    if (!('transitiveTestCallers' in value) || value['transitiveTestCallers'] === 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