Search Docs
Loading...
Skip to content

Function: matchGlob

function matchGlob(pattern, value): boolean;

Matches a value against a glob pattern.

Parameters#

Parameter Type Description
pattern string The glob pattern (e.g., ‘ly.img.’, ‘.separator’)
value string The value to match against

Returns#

boolean

True if the value matches the pattern