permalink |
---|
/ascii/ |
local ascii = import "github.com/jsonnet-libs/xtd/ascii.libsonnet"
ascii
implements helper functions for ascii characters
isLower(c)
isLower
reports whether ASCII character c
is a lower case letter
isNumber(c)
isNumber
reports whether character c
is a number.
isStringJSONNumeric(str)
isStringJSONNumeric
reports whether string s
is a number as defined by JSON.
isStringNumeric(str)
isStringNumeric
reports whether string s
consists only of numeric characters.
isUpper(c)
isUpper
reports whether ASCII character c
is a upper case letter