Search Docs
Loading...
Skip to content

Function: matchGlob

function matchGlob(pattern, value): boolean;

Matches a value against a glob pattern.

Parameters#

ParameterTypeDescription
patternstringThe glob pattern (e.g., ‘ly.img.’, ‘.separator’)
valuestringThe value to match against

Returns#

boolean

True if the value matches the pattern