Last change
on this file since e29cc2e was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
307 bytes
|
Line | |
---|
1 | "use strict";
|
---|
2 |
|
---|
3 | Object.defineProperty(exports, "__esModule", {
|
---|
4 | value: true
|
---|
5 | });
|
---|
6 | exports.default = void 0;
|
---|
7 |
|
---|
8 | var _default = (rule, ...props) => {
|
---|
9 | return props.every(p => rule.some(({
|
---|
10 | prop
|
---|
11 | }) => prop && ~prop.toLowerCase().indexOf(p)));
|
---|
12 | };
|
---|
13 |
|
---|
14 | exports.default = _default;
|
---|
15 | module.exports = exports.default; |
---|
Note:
See
TracBrowser
for help on using the repository browser.