antd-theme-generator
Version:
This a script to generate color specific styles less file and which you can use to change theme dynamically in browser
37 lines (20 loc) • 540 B
Markdown
if a value is a regular expression
```
$ npm install is-regexp
```
```js
const isRegexp = require('is-regexp');
isRegexp('unicorn');
//=> false
isRegexp(/unicorn/);
//=> true
isRegexp(new RegExp('unicorn'));
//=> true
```
- [is](https://github.com/sindresorhus/is) - Type check values
MIT © [Sindre Sorhus](https://sindresorhus.com)
> Check