@haraldki/jsonaccess
Preparing search index...
JsonAccess
jsonAsBoolean
Function jsonAsBoolean
jsonAsBoolean
(
data
:
unknown
)
:
Maybe
<
boolean
>
Returns the
data
if it is of type
boolean
, otherwise a
JsonAccessError
.
Parameters
data
:
unknown
Returns
Maybe
<
boolean
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@haraldki/jsonaccess
Loading...
Returns the
dataif it is of typeboolean, otherwise aJsonAccessError.