Function followDirections
- followDirections<T>(target: any, directions: string[]): {
hasValue: true;
value: T;
} | {
hasValue: false;
value?: undefined;
}
-
Parameters
-
target: any
-
directions: string[]
Returns {
hasValue: true;
value: T;
} | {
hasValue: false;
value?: undefined;
}