Skip to content

Documentation / @ripl/core / isPatternString

Function: isPatternString() ​

isPatternString(value): boolean

Defined in: packages/core/src/pattern/parser.ts:147

Tests whether a string looks like a pattern(...) paint value (cheap shape check; use parsePattern to validate fully).

Parameters ​

ParameterType
valuestring

Returns ​

boolean