Sha256: fbeab8ee708f4bc5df0643470ef6f76c9d30f3f4a4d8815975c010d1474cf142
Contents?: true
Size: 267 Bytes
Versions: 24
Compression:
Stored size: 267 Bytes
Contents
'use strict'; /** * Check if a string contains at least one empty line * * @param {string} string * * @returns {boolean} */ module.exports = function (string) { if (string === '' || string === undefined) return false; return /\n[\r\t ]*\n/.test(string); };
Version data entries
24 entries across 24 versions & 1 rubygems