mirror of
https://github.com/LukeHagar/arbiter.git
synced 2025-12-09 20:37:50 +00:00
Saving all progress
This commit is contained in:
18
node_modules/is-regexp/index.d.ts
generated
vendored
Normal file
18
node_modules/is-regexp/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
/**
|
||||
Check if a value is a regular expression.
|
||||
|
||||
@example
|
||||
```
|
||||
import isRegexp from 'is-regexp';
|
||||
|
||||
isRegexp('unicorn');
|
||||
//=> false
|
||||
|
||||
isRegexp(/unicorn/);
|
||||
//=> true
|
||||
|
||||
isRegexp(new RegExp('unicorn'));
|
||||
//=> true
|
||||
```
|
||||
*/
|
||||
export default function isRegexp(value: unknown): value is RegExp;
|
||||
Reference in New Issue
Block a user