mirror of
https://github.com/thangisme/notes.git
synced 2024-11-01 05:17:16 -04:00
10 lines
186 B
JavaScript
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) === ":--")
|
||
|
}
|