1
0
mirror of https://github.com/thangisme/notes.git synced 2024-07-02 01:45:29 +00:00
notes/node_modules/stylelint/lib/utils/isCustomSelector.js
Patrick Marsceill b7b0d0d7bf
Initial commit
2017-03-09 13:16:08 -05:00

10 lines
186 B
JavaScript

/* @flow */
"use strict"
/**
* Check whether a selector is a custom one
*/
module.exports = function (selector/*: string*/)/*: boolean*/ {
return (selector.slice(0, 3) === ":--")
}