instanceOfCoverageByFile() — typescript-sdk Function Reference
Architecture documentation for the instanceOfCoverageByFile() function in CoverageByFile.ts from the typescript-sdk codebase.
Entity Profile
Relationship Graph
Source Code
src/models/CoverageByFile.ts lines 57–64
export function instanceOfCoverageByFile(value: object): value is CoverageByFile {
if (!('file' in value) || value['file'] === undefined) return false;
if (!('totalFunctions' in value) || value['totalFunctions'] === undefined) return false;
if (!('testedFunctions' in value) || value['testedFunctions'] === undefined) return false;
if (!('untestedFunctions' in value) || value['untestedFunctions'] === undefined) return false;
if (!('coveragePercentage' in value) || value['coveragePercentage'] === undefined) return false;
return true;
}
Domain
Subdomains
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free