Sha256: 034901803fc002c13cded39b0ec683a7d501a81da9a21dc8eddf6e78825fbe96
Contents?: true
Size: 312 Bytes
Versions: 24
Compression:
Stored size: 312 Bytes
Contents
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports["default"] = _default; /** * Check if a character is whitespace. * * @param {string} char - A single character * @return {boolean} */ function _default(_char) { return [" ", "\n", "\t", "\r", "\f"].includes(_char); }
Version data entries
24 entries across 24 versions & 1 rubygems