katoikia-app/web-ui/web-react/node_modules/postcss-merge-longhand/dist/lib/hasAllProps.js

11 lines
257 B
JavaScript
Raw Normal View History

2022-07-06 04:15:11 +00:00
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = (rule, ...props) => {
return props.every(p => rule.some(({ prop }) => prop && ~prop.toLowerCase().indexOf(p)));
};
module.exports = exports["default"];