Claims.getBool

class Claims
bool
getBool
(
string name
)

Parameters

name string

the name of the claim

Return Value

Type: bool

returns a boolean representation of the claim if it exists and is a boolean or the initial value for bool if doesn't exist or is not a boolean

Meta