splitTopLevelCommas

Splits a value at the commas that are not inside parentheses, so max(a, b), 3 gives two pieces.

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

The pieces are not trimmed. The first thing a refiner for a list of expressions does.

#Signature

(input: string): string[]

#Parameters

input
The value as written.

Declared in packages/canvas-sdk/src/refine/value-refiners.ts:315.

Last updated