Skip to content

Latest commit

 

History

History
61 lines (40 loc) · 1.02 KB

ascii.md

File metadata and controls

61 lines (40 loc) · 1.02 KB
permalink
/ascii/

ascii

local ascii = import "github.com/jsonnet-libs/xtd/ascii.libsonnet"

ascii implements helper functions for ascii characters

Index

Fields

fn isLower

isLower(c)

isLower reports whether ASCII character c is a lower case letter

fn isNumber

isNumber(c)

isNumber reports whether character c is a number.

fn isStringJSONNumeric

isStringJSONNumeric(str)

isStringJSONNumeric reports whether string s is a number as defined by JSON.

fn isStringNumeric

isStringNumeric(str)

isStringNumeric reports whether string s consists only of numeric characters.

fn isUpper

isUpper(c)

isUpper reports whether ASCII character c is a upper case letter