Preparing search index...
The search index is not available
ts-dna - v2.4.0
ts-dna
map
Function map
map
<
T
,
U
,
E
>
(
result
,
mapper
)
:
ValidationResult
<
U
,
E
>
Maps the data of a successful ValidationResult, leaving failures unchanged
Type Parameters
T
U
E
Parameters
result
:
ValidationResult
<
T
,
E
>
mapper
:
(
(
data
)
=>
U
)
(
data
)
:
U
Parameters
data
:
T
Returns
U
Returns
ValidationResult
<
U
,
E
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
ts-dna - v2.4.0
Loading...
Maps the data of a successful ValidationResult, leaving failures unchanged