MCPcopy Create free account
hub / github.com/witheve/Eve / isBlank

Function isBlank

src/commonmark.js:61–63  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

59
60// Returns true if string contains only space characters.
61var isBlank = function(s) {
62 return !(reNonSpace.test(s));
63};
64
65var isSpaceOrTab = function(c) {
66 return c === C_SPACE || c === C_TAB;

Callers 1

commonmark.jsFile · 0.85

Calls 1

testMethod · 0.45

Tested by

no test coverage detected