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

instanceOfTestCoverageMapResponse() — typescript-sdk Function Reference

Architecture documentation for the instanceOfTestCoverageMapResponse() function in TestCoverageMapResponse.ts from the typescript-sdk codebase.

Entity Profile

Relationship Graph

Source Code

src/models/TestCoverageMapResponse.ts lines 100–107

export function instanceOfTestCoverageMapResponse(value: object): value is TestCoverageMapResponse {
    if (!('metadata' in value) || value['metadata'] === undefined) return false;
    if (!('untestedFunctions' in value) || value['untestedFunctions'] === undefined) return false;
    if (!('testedFunctions' in value) || value['testedFunctions'] === undefined) return false;
    if (!('testFiles' in value) || value['testFiles'] === undefined) return false;
    if (!('coverageByFile' in value) || value['coverageByFile'] === 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