UNPKG

el-beeswarm

Version:

<div style="display: flex; padding: 1rem; flex-direction: column; align-items: center; justify-content: center; height: 100vh; text-align: center; display: flex;

15 lines (12 loc) 267 B
'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); };