freeParams
Returns the free identifiers of a refined expression: the single letters it uses that are neither built in nor its own variables.
@internote/canvas-sdkOn this page
import { freeParams } from '@internote/canvas-sdk';Refined expressions carry their token list, so this reads what the grammar already decided rather than parsing a second time. An expression that names its own variables, such as a curve in t or a surface over the plane, is believed: those are not free. What collectFreeParamNameswalks a whole body with.
#Signature
(value: unknown): string[]#Parameters
valueA refined expression attribute value.
Declared in packages/canvas-sdk/src/data/values.ts:152.