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

Dependency Diagram

graph TD
  711f745a_2790_2138_e64d_6a5a494e84a2["instanceOfJobStatus()"]
  7631b867_12e8_d1db_8a91_be2f324b8463["JobStatus.ts"]
  711f745a_2790_2138_e64d_6a5a494e84a2 -->|defined in| 7631b867_12e8_d1db_8a91_be2f324b8463
  style 711f745a_2790_2138_e64d_6a5a494e84a2 fill:#6366f1,stroke:#818cf8,color:#fff

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

Frequently Asked Questions

What does instanceOfJobStatus() do?
instanceOfJobStatus() is a function in the typescript-sdk codebase, defined in src/models/JobStatus.ts.
Where is instanceOfJobStatus() defined?
instanceOfJobStatus() is defined in src/models/JobStatus.ts at line 64.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free