first commit
This commit is contained in:
9
node_modules/stylelint/lib/utils/isCustomFunction.mjs
generated
vendored
Normal file
9
node_modules/stylelint/lib/utils/isCustomFunction.mjs
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
/**
|
||||
* 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('--');
|
||||
}
|
||||
Reference in New Issue
Block a user