You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
295 B

4 years ago
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. exports.default = exists;
  6. function exists(selector, index, value) {
  7. const node = selector.at(index);
  8. return node && node.value && node.value.toLowerCase() === value;
  9. }
  10. module.exports = exports["default"];