* Code point equivalent of regex `\p{White_Space}`. * From: https://www.unicode.org/Public/UCD/latest/ucd/PropList.txt
(c: number)
| 1308 | * From: https://www.unicode.org/Public/UCD/latest/ucd/PropList.txt |
| 1309 | */ |
| 1310 | function _isWhiteSpace(c: number) { |
| 1311 | return ( |
| 1312 | (c >= 0x0009 && c <= 0x000d) || |
| 1313 | c === 0x0020 || |
| 1314 | c === 0x0085 || |
| 1315 | (c >= 0x200e && c <= 0x200f) || |
| 1316 | c === 0x2028 || |
| 1317 | c === 0x2029 |
| 1318 | ) |
| 1319 | } |