1
0
mirror of https://github.com/thangisme/notes.git synced 2025-11-23 13:12:25 -05:00

Initial commit

This commit is contained in:
Patrick Marsceill
2017-03-09 13:16:08 -05:00
commit b7b0d0d7bf
4147 changed files with 401224 additions and 0 deletions

18
node_modules/stylelint/lib/utils/isOnlyWhitespace.js generated vendored Normal file
View File

@@ -0,0 +1,18 @@
/* @flow */
"use strict"
const isWhitespace = require("./isWhitespace")
/**
* Returns a Boolean indicating whether the the input string is only whitespace.
*/
module.exports = function (input/*: string*/)/*: boolean*/ {
let isOnlyWhitespace = true
for (let i = 0, l = input.length; i < l; i++) {
if (!isWhitespace(input[i])) {
isOnlyWhitespace = false
break
}
}
return isOnlyWhitespace
}