Clean out strutils (#14859)
Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
This commit is contained in:
parent
930a0c999b
commit
cbcaf2bbc4
2 changed files with 1 additions and 5 deletions
|
|
@ -2935,11 +2935,6 @@ proc isEmptyOrWhitespace*(s: string): bool {.noSideEffect, rtl,
|
|||
## Checks if `s` is empty or consists entirely of whitespace characters.
|
||||
result = s.allCharsInSet(Whitespace)
|
||||
|
||||
proc isNilOrWhitespace*(s: string): bool {.noSideEffect, rtl,
|
||||
extern: "nsuIsNilOrWhitespace",
|
||||
deprecated: "use isEmptyOrWhitespace instead".} =
|
||||
## Alias for isEmptyOrWhitespace
|
||||
result = isEmptyOrWhitespace(s)
|
||||
|
||||
when isMainModule:
|
||||
proc nonStaticTests =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue