mirror of
https://github.com/CharaChorder/DeviceManager.git
synced 2026-01-21 01:12:59 +00:00
12 lines
214 B
JavaScript
12 lines
214 B
JavaScript
'use strict';
|
|
|
|
/**
|
|
* Check whether a selector is a custom one
|
|
*
|
|
* @param {string} selector
|
|
* @returns {boolean}
|
|
*/
|
|
module.exports = function isCustomSelector(selector) {
|
|
return selector.startsWith(':--');
|
|
};
|