Preparing search index...
The search index is not available
@telostat/prelude - v0.6.0
@telostat/prelude
functional
exactly
Function exactly
A codec that only succeeds decoding when the value is exactly what you've constructed the codec with
exactly
<
T
extends
(
string
|
number
|
boolean
)
[]
>
(
...
expectedValues
:
T
,
)
:
functional
.
Codec
<
T
[
number
]
>
Type Parameters
T
extends
(
string
|
number
|
boolean
)
[]
Parameters
...
expectedValues
:
T
Returns
functional
.
Codec
<
T
[
number
]
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@telostat/prelude - v0.6.0
Loading...
A codec that only succeeds decoding when the value is exactly what you've constructed the codec with