AttributeProxy.getInt

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

struct AttributeProxy
int
getInt
(
T[] name
,
int aDefault = 0
)

Parameters

name T[]

the name of the attribute

aDefault int

the default return value

Return Value

Type: int

the value of the attribute if it was found and could be converted to an int, otherwise aDefault.

Meta