expressionItemOf
Returns the bound expression an inline content item carries, or null for a text run or a micronode.
@internote/canvas-sdkOn this page
import { expressionItemOf } from '@internote/canvas-sdk';What a renderer walking inline content by hand tests each item with before rendering it as an ExpressionValue.
#Signature
(item: unknown): ChalkExpression | null#Parameters
itemOne item of inline content.
Declared in packages/canvas-sdk/src/content/expressions.ts:126.