isSafeFormalName

Returns whether a name may be a formal of a compiled expression: an ASCII identifier, and not a reserved word.

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

#Signature

(name: unknown): name is string

#Parameters

name
The name to test.

Declared in packages/canvas-sdk/src/maths/safe-function.ts:74.

Last updated