1
0
mirror of https://github.com/thangisme/notes.git synced 2024-09-28 17:06:00 -04:00
notes/node_modules/stylelint/lib/utils/isCustomProperty.js

10 lines
183 B
JavaScript
Raw Normal View History

2017-03-09 13:16:08 -05:00
/* @flow */
"use strict"
/**
* Check whether a property is a custom one
*/
module.exports = function (property/*: string*/)/*: boolean*/ {
return property.slice(0, 2) === "--"
}