Vinyl
Preparing search index...
@amzn/vinyl-xml
attrBoolean
Function attrBoolean
Parses an attribute's value
"true"
or
"1"
as
true
.
Param: options
attrBoolean
(
options
:
RequiredAttributeOptions
<
boolean
>
)
:
AttributeRule
<
boolean
>
Parameters
options
:
RequiredAttributeOptions
<
boolean
>
Returns
AttributeRule
<
boolean
>
attrBoolean
(
options
?:
AttributeRuleOptions
<
boolean
>
,
)
:
AttributeRule
<
undefined
|
boolean
>
Parameters
Optional
options
:
AttributeRuleOptions
<
boolean
>
Returns
AttributeRule
<
undefined
|
boolean
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Vinyl
Loading...
Parses an attribute's value
"true"or"1"astrue.Param: options