Preparing search index...
The search index is not available
v0.4.0-beta
Marlowe ts-sdk
@marlowe.io/adapter
io-ts
expectType
Function expectType
expect
Type
<
T
>
(
guard
,
aValue
)
:
T
Convert an unknown value to
T
if the guard provided is validating the unknown value.
Type Parameters
T
Parameters
guard
:
Type
<
T
,
T
,
unknown
>
aValue
:
unknown
Returns
T
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
How to develop
Module system
Versioning and releases
Changelog
Marlowe ts-
sdk -
v0.4.0-
beta
@marlowe.io/adapter
assoc-
map
bigint
codec
deep-
equal
file
fp-
ts
http
index
io-
ts
Invalid
Type
Error
BrandP
assert
Guard
Equal
convert
Nullable
To
Undefined
dynamic
Assert
Type
expect
Type
format
Validation
Errors
like
Literal
preserved
Brand
proxy
lucid
time
@marlowe.io/marlowe-
template
@marlowe.io/language-
core-
v1
@marlowe.io/language-
examples
@marlowe.io/wallet
@marlowe.io/runtime-
rest-
client
@marlowe.io/runtime-
core
@marlowe.io/runtime-
lifecycle
@marlowe.io/marlowe-
object
@marlowe.io/testing-
kit
Convert an unknown value to
T
if the guard provided is validating the unknown value.