summary refs log tree commit diff stats
path: root/lib/js
diff options
context:
space:
mode:
authorEuan <euantorano@gmail.com>2016-06-24 10:18:46 +0100
committerEuan <euantorano@gmail.com>2016-06-24 10:18:46 +0100
commitd932cb1e515a52a8afde33feaf36ad5567e4e7df (patch)
tree2df2f79922cedeb7f87e97fe7677bd8fa75e4c69 /lib/js
parent5f4e98bbc7fb8bdd6e60579b26c0001f33ce4f9c (diff)
downloadNim-d932cb1e515a52a8afde33feaf36ad5567e4e7df.tar.gz
Adding isNilOrEmpty and isNilOrWhitespace
As discussed in #4184, this patch adds `isNilOrEmpty` and
`isNilOrWhitespace` to `strutils`.

It also modifies the existing `isSpace` proc slightly to exit early
rather than looping through all characters in a string.
Diffstat (limited to 'lib/js')
0 files changed, 0 insertions, 0 deletions