declare function isRegExp(val: any): val is RegExp; export = isRegExp;