12 lines
197 B
JavaScript
Raw Normal View History

2020-05-19 11:43:42 +03:00
'use strict';
/**
* Check whether a selector is a custom one
*
* @param {string} selector
* @returns {boolean}
*/
module.exports = function(selector) {
return selector.startsWith(':--');
};