UNPKG

@stacksjs/ts-validation

Version:

A simple TypeScript starter kit using Bun.

9 lines 262 B
/** * matches * * @param str - The string to check * @param pattern - Options object * @param modifiers - Options object * @returns The processed string */ export declare function matches(str: string, pattern: string | RegExp, modifiers: string): boolean;