@zeix/ui-element
Version:
UIElement - a HTML-first library for reactive Web Components
22 lines (11 loc) • 466 B
Markdown
[**@zeix/ui-element**](../README.md)
***
[@zeix/ui-element](../globals.md) / asBoolean
# Function: asBoolean()
> **asBoolean**(): [`Parser`](../type-aliases/Parser.md)\<`boolean`\>
Defined in: [src/lib/parsers.ts:23](https://github.com/zeixcom/ui-element/blob/1e5ebee179adfc4619d3d0e9d2b864d1e97ba797/src/lib/parsers.ts#L23)
Parse a boolean attribute as an actual boolean value
## Returns
[`Parser`](../type-aliases/Parser.md)\<`boolean`\>
## Since
0.13.1