Variable
Static Public Summary | ||
public |
BOOLEAN: {"type": *, "toBe": *} This object combines all validation functions related to booleans |
|
public |
NUMBER: {"min": *, "max": *, "equal": *, "type": *} This object combines all validation functions related to numbers |
|
public |
STRING: {"minLength": *, "maxLength": *, "equal": *, "match": *, "notEmpty": *, "type": *} This object combines all validation functions related to strings |
|
public |
TEST_FUNCTIONS: {...types: Object} |
|
public |
Regex that validates if a string is a valid url |
|
public |
array: {"of": *, "notEmpty": *, "length": *, "type": *} |
|
public |
|
|
public |
date: {"after": *, "before": *, "between": *, "equal": *, "type": *} |
|
public |
|
|
public |
|
|
public |
fn: {"type": *, "result": *} |
|
public |
|
|
public |
|
|
public |
password: {...STRING: Object, "numbers": *, "uppercase": *, "specialChars": *, "matchesOneOf": *, "matchesAllOf": *} |
|
public |
|
|
public |
|
Static Public
public BOOLEAN: {"type": *, "toBe": *} source
import {BOOLEAN} from '@cesium133/forgjs/src/testFunctions/primitives.js'
This object combines all validation functions related to booleans
public NUMBER: {"min": *, "max": *, "equal": *, "type": *} source
import {NUMBER} from '@cesium133/forgjs/src/testFunctions/primitives.js'
This object combines all validation functions related to numbers
public STRING: {"minLength": *, "maxLength": *, "equal": *, "match": *, "notEmpty": *, "type": *} source
import {STRING} from '@cesium133/forgjs/src/testFunctions/primitives.js'
This object combines all validation functions related to strings
public TEST_FUNCTIONS: {...types: Object} source
import {TEST_FUNCTIONS} from '@cesium133/forgjs/src/testFunctions/index.js'
public URL_REGEX: undefined source
import {URL_REGEX} from '@cesium133/forgjs/src/util.js'
Regex that validates if a string is a valid url
public array: {"of": *, "notEmpty": *, "length": *, "type": *} source
import array from '@cesium133/forgjs/src/testFunctions/types/array.js'
public boolean: {...BOOLEAN: Object} source
import boolean from '@cesium133/forgjs/src/testFunctions/types/boolean.js'
public date: {"after": *, "before": *, "between": *, "equal": *, "type": *} source
import date from '@cesium133/forgjs/src/testFunctions/types/date.js'
public email: {...STRING: Object, "type": *, "user": *, "domain": *} source
import email from '@cesium133/forgjs/src/testFunctions/types/email.js'
public float: {...NUMBER: Object, "type": *} source
import float from '@cesium133/forgjs/src/testFunctions/types/float.js'
public fn: {"type": *, "result": *} source
import fn from '@cesium133/forgjs/src/testFunctions/types/function.js'
public int: {...NUMBER: Object, "type": *} source
import int from '@cesium133/forgjs/src/testFunctions/types/int.js'
public number: {...NUMBER: Object} source
import number from '@cesium133/forgjs/src/testFunctions/types/number.js'
public password: {...STRING: Object, "numbers": *, "uppercase": *, "specialChars": *, "matchesOneOf": *, "matchesAllOf": *} source
import password from '@cesium133/forgjs/src/testFunctions/types/password.js'
public string: {...STRING: Object} source
import string from '@cesium133/forgjs/src/testFunctions/types/string.js'
public url: {...STRING: Object, "type": *, "domain": *, "protocol": *} source
import url from '@cesium133/forgjs/src/testFunctions/types/url.js'