hasAttr
Returns whether the node writes the attribute at all, whatever its value.
@internote/canvas-sdkOn this page
import { hasAttr } from '@internote/canvas-sdk';#Signature
(node: NodeLike, identifier: string): boolean#Parameters
nodeThe node to read.
identifierThe attribute's canonical name.
Declared in packages/canvas-sdk/src/environment/node-attributes.ts:66.