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

instanceOfTestFileInfo() — typescript-sdk Function Reference

Architecture documentation for the instanceOfTestFileInfo() function in TestFileInfo.ts from the typescript-sdk codebase.

Entity Profile

Relationship Graph

Source Code

src/models/TestFileInfo.ts lines 51–57

export function instanceOfTestFileInfo(value: object): value is TestFileInfo {
    if (!('file' in value) || value['file'] === undefined) return false;
    if (!('testFunctions' in value) || value['testFunctions'] === undefined) return false;
    if (!('productionFunctionsCovered' in value) || value['productionFunctionsCovered'] === undefined) return false;
    if (!('productionFilesCovered' in value) || value['productionFilesCovered'] === 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