mirror of
https://gh.wpcy.net/https://github.com/djav1985/v-wordpress-plugin-updater.git
synced 2026-04-28 08:02:16 +08:00
9 lines
196 B
JavaScript
9 lines
196 B
JavaScript
/**
|
|
* Check whether a selector is a custom one
|
|
*
|
|
* @param {string} selector
|
|
* @returns {boolean}
|
|
*/
|
|
export default function isCustomSelector(selector) {
|
|
return selector.startsWith(':--');
|
|
}
|