UNPKG

deep-state-observer

Version:

Deep state observer is an state management library that will fire listeners only when specified object node (which also can be a wildcard) was changed.

14 lines (13 loc) 394 B
declare class Matcher { private wchar; private pattern; private segments; private starCount; private minLength; private maxLength; private segStartIndex; constructor(pattern: string, wchar?: string); match(match: string): boolean; } export default Matcher; export declare function Match(pattern: string, match: string, wchar?: string): boolean;