isCustomSelector.js 198 B

1234567891011
  1. 'use strict';
  2. /**
  3. * Check whether a selector is a custom one
  4. *
  5. * @param {string} selector
  6. * @returns {boolean}
  7. */
  8. module.exports = function (selector) {
  9. return selector.startsWith(':--');
  10. };