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
unknown
value is of typeOutcome
. Returnstrue
if the value matches, and enables type narrowing within a conditional block.