MCPcopy Index your code
hub / github.com/reactjs/react-rails / isWhiteSpace

Function isWhiteSpace

lib/assets/javascripts/JSXTransformer.js:2664–2671  ·  view source on GitHub ↗
(ch)

Source from the content-addressed store, hash-verified

2662 // 7.2 White Space
2663
2664 function isWhiteSpace(ch) {
2665 return (ch === 32) || // space
2666 (ch === 9) || // tab
2667 (ch === 0xB) ||
2668 (ch === 0xC) ||
2669 (ch === 0xA0) ||
2670 (ch >= 0x1680 && '\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\uFEFF'.indexOf(String.fromCharCode(ch)) > 0);
2671 }
2672
2673 // 7.3 Line Terminators
2674

Callers 1

skipCommentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected