Skip to content

validateAttributeName

validateAttributeName(name): void

Defined in: src/attr/names.ts:55

Validates an attribute name against the engine’s Ident32 grammar and the query language’s reserved words.

string

The attribute name.

void

If the name is empty, too long, uses characters outside the grammar, or collides with a reserved word.