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

instanceOfJobStatus() — typescript-sdk Function Reference

Architecture documentation for the instanceOfJobStatus() function in JobStatus.ts from the typescript-sdk codebase.

Entity Profile

Relationship Graph

Source Code

src/models/JobStatus.ts lines 64–68

export function instanceOfJobStatus(value: object): value is JobStatus {
    if (!('status' in value) || value['status'] === undefined) return false;
    if (!('jobId' in value) || value['jobId'] === 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