UNPKG

@gpa-gemstone/helper-functions

Version:
8 lines (7 loc) 301 B
/** * This function checks if any regex is valid regex, returning true or false * @param regex: regex is the string passed through the IsRegex function * @returns Function will return true if regex is valid, false otherwise */ declare function IsRegex(regex: string): boolean; export { IsRegex };