mirror of
https://gh.wpcy.net/https://github.com/djav1985/v-wordpress-plugin-updater.git
synced 2026-04-29 10:00:49 +08:00
9 lines
246 B
JavaScript
9 lines
246 B
JavaScript
/**
|
|
* Check whether a function is custom / user-defined
|
|
* https://github.com/w3c/css-houdini-drafts/issues/1007
|
|
* @param {string} func
|
|
* @returns {boolean}
|
|
*/
|
|
export default function isCustomFunction(func) {
|
|
return func.startsWith('--');
|
|
}
|