Sign in
chromium
/
devtools
/
devtools-frontend
/
main
/
.
/
node_modules
/
stylelint
/
lib
/
utils
/
isCustomFunction.mjs
blob: 3732961d4d0c49ae6001fe2f256e3ba9c5381ac4 [
file
] [
log
] [
blame
]
/**
* 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
(
'--'
);
}