hasLabel

Returns whether a label value has anything to draw: a non-blank string, or inline content with a text run, a bound expression or a micronode in it.

@internote/canvas-sdkFunction
On this page
import { hasLabel } from '@internote/canvas-sdk';

#Signature

(value: unknown): boolean

#Parameters

value
The attribute's value, a string or inline content.

Declared in packages/canvas-sdk/src/text/index.ts:227.

Last updated