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

AffectedFunctionToJSON() — typescript-sdk Function Reference

Architecture documentation for the AffectedFunctionToJSON() function in AffectedFunction.ts from the typescript-sdk codebase.

Entity Profile

Relationship Graph

Source Code

src/models/AffectedFunction.ts lines 112–125

export function AffectedFunctionToJSON(value?: AffectedFunction | null): any {
    if (value == null) {
        return value;
    }
    return {
        
        'file': value['file'],
        'name': value['name'],
        'line': value['line'],
        'type': value['type'],
        'distance': value['distance'],
        'relationship': value['relationship'],
    };
}

Domain

Subdomains

Analyze Your Own Codebase

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

Try Supermodel Free