Preparing search index...
The search index is not available
ts-dna - v2.4.0
ts-dna
unwrapOr
Function unwrapOr
unwrap
Or
<
T
,
E
>
(
result
,
defaultValue
)
:
T
Extracts the data from a ValidationResult, returning a default value if it's a failure
Type Parameters
T
E
Parameters
result
:
ValidationResult
<
T
,
E
>
defaultValue
:
T
Returns
T
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
ts-dna - v2.4.0
Loading...
Extracts the data from a ValidationResult, returning a default value if it's a failure