instanceOfCoverageByDomain() — typescript-sdk Function Reference
Architecture documentation for the instanceOfCoverageByDomain() function in CoverageByDomain.ts from the typescript-sdk codebase.
Entity Profile
Relationship Graph
Source Code
src/models/CoverageByDomain.ts lines 51–57
export function instanceOfCoverageByDomain(value: object): value is CoverageByDomain {
if (!('domain' in value) || value['domain'] === undefined) return false;
if (!('totalFunctions' in value) || value['totalFunctions'] === undefined) return false;
if (!('testedFunctions' in value) || value['testedFunctions'] === 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