Skip to content

Latest commit

 

History

History
71 lines (55 loc) · 2.91 KB

API.md

File metadata and controls

71 lines (55 loc) · 2.91 KB

isFormat

Minimal, RFC 6749, compliant unicode validator.

Kind: global constant
See: https://datatracker.ietf.org/doc/html/rfc6749#appendix-A

isFormat.nchar() ⇒ boolean

Validate if a value matches a unicode character.

Kind: static method of isFormat
Returns: boolean - true, if valid, otherwise false
Value: string the value to be validated
See: https://tools.ietf.org/html/rfc6749#appendix-A

isFormat.nqchar() ⇒ boolean

Validate if a value matches a unicode character, including exclamation marks.

Kind: static method of isFormat
Returns: boolean - true, if valid, otherwise false
Value: string the value to be validated
See: https://tools.ietf.org/html/rfc6749#appendix-A

isFormat.nqschar() ⇒ boolean

Validate if a value matches a unicode character, including exclamation marks and spaces.

Kind: static method of isFormat
Returns: boolean - true, if valid, otherwise false
Value: string the value to be validated
See: https://tools.ietf.org/html/rfc6749#appendix-A

isFormat.uchar() ⇒ boolean

Validate if a value matches a unicode character excluding the carriage return and linefeed characters.

Kind: static method of isFormat
Returns: boolean - true, if valid, otherwise false
Value: string the value to be validated
See: https://tools.ietf.org/html/rfc6749#appendix-A

isFormat.uri() ⇒ boolean

Validate if a value matches generic URIs.

Kind: static method of isFormat
Returns: boolean - true, if valid, otherwise false
Value: string the value to be validated
See: http://tools.ietf.org/html/rfc3986#section-3

isFormat.vschar() ⇒ boolean

Validate if a value matches against the printable set of unicode characters.

Kind: static method of isFormat
Returns: boolean - true, if valid, otherwise false
Value: string the value to be validated
See: https://tools.ietf.org/html/rfc6749#appendix-A