Updated on 2022-03-13 GMT+08:00

HasAttr

Function Prototype

bool HasAttr(const string& name) const;

Function Description

Checks whether an attribute exists by name.

Parameter Description

Parameter

Input/Output

Type

Description

name

Input

const string&

Attribute name

Return Value

Parameter

Type

Description

-

bool

true: An attribute named name is found.

false: No attribute named name is found.

Exception Handling

None

Restriction

None