mirror of
https://github.com/thangisme/notes.git
synced 2024-11-01 03:17:30 -04:00
10 lines
183 B
JavaScript
10 lines
183 B
JavaScript
/* @flow */
|
|
"use strict"
|
|
|
|
/**
|
|
* Check whether a property is a custom one
|
|
*/
|
|
module.exports = function (property/*: string*/)/*: boolean*/ {
|
|
return property.slice(0, 2) === "--"
|
|
}
|