| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | 1 1 11089 11088 19 11069 | 'use strict';
// check if we're starting a hash
var hashStarting = /\{$/;
module.exports = function checkForHashStart( line ) {
if ( typeof line !== 'string' ) { return; }
// ex colorsHash = {
if ( hashStarting.test(line) && line.indexOf('=') !== -1 ) {
return true;
}
else {
return false;
}
} |