UNPKG

181 BTypeScriptView Raw
1/**
2 * Returns whether the value is a valid `RegExp` object with the `[[RegExpMatcher]]` internal slot.
3 */
4declare function isRegex(value: any): value is RegExp;
5export = isRegex;