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

Version Path
trusty-cms-4.1.8 node_modules/stylelint-scss/dist/utils/isWhitespace.js
trusty-cms-4.1.7 node_modules/stylelint-scss/dist/utils/isWhitespace.js
trusty-cms-4.1.6 node_modules/stylelint-scss/dist/utils/isWhitespace.js
trusty-cms-4.1.5 node_modules/stylelint-scss/dist/utils/isWhitespace.js