@gpa-gemstone/helper-functions
Version:
Helper Functions for gpa-gemstone packages
8 lines (7 loc) • 301 B
TypeScript
/**
* 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 };