Represents a type guard function that checks whether a given unknown value is of type Outcome. Returns true if the value matches, and enables type narrowing within a conditional block.
unknown
Outcome
true
The type that the guard function asserts.
Represents a type guard function that checks whether a given
unknownvalue is of typeOutcome. Returnstrueif the value matches, and enables type narrowing within a conditional block.