AttributeProxy.getBool

Returns the value of the first attribute in the element of which this proxy object was received, which matches the given name.

struct AttributeProxy
bool
getBool
(
T[] name
,
bool aDefault = false
)

Parameters

name T[]

the name of the attribute

aDefault bool

the default return value

Return Value

Type: bool

true if the attribute was found and it's value was 1, otherwise aDefault

Meta