Skip to main content
Version: 1.0.24-alpha

Keywords

jsObjectsScope

NameTypeDescription
Function (...args: any[]) => unknown
Date Date
Error Error
Map Map<unknown, unknown>
RegExp RegExp
Set Set<unknown>
WeakMap WeakMap<object, unknown>
WeakSet WeakSet<object>
Promise Promise<unknown>

tsKeywordsScope

NameTypeDescription
any anyany
bigint biginta bigint
boolean booleana boolean
false falsefalse
never nevernever
null nullnull
number numbera number
object objectan object
string stringa string
symbol symbola symbol
true truetrue
unknown unknownunknown
void voidvoid
undefined undefinedundefined

validationScope

NameTypeDescription
alpha stringonly letters
alphanumeric stringonly letters and digits
lowercase stringonly lowercase letters
uppercase stringonly uppercase letters
creditCard stringa valid credit card number
email stringa valid email
uuid stringa valid UUID
parsedNumber (In: string) => numbera well-formed numeric string
parsedInteger (In: string) => numbera well-formed integer string
parsedDate (In: string) => Datea valid date
semver stringa valid semantic version
json (In: string) => unknowna JSON-parsable string
integer numberan integer