ODCheckerStringStructureOptions interface
under construction
We are still working the API Reference! This page might be incomplete or doesn't contain all details!
Overview
This interface has the options for ODCheckerStringStructure!
Properties
optional choices array ➜ string[]
You need to choose between ...
optional contains string ➜ string
This string needs to contain ...
inherited optional custom function ➜ (checker:api.ODChecker, value:api.ODValidJsonType, locationTrace:api.ODCheckerLocationTrace, locationId:api.ODId, locationDocs:null|string) => boolean
Add a custom checker function. Returns true when valid.
inherited optional docs string ➜ string
Set the url to the documentation of this variable.
optional endsWith string ➜ string
This string needs to end with ...
optional length number ➜ number
Set the required length of this string
optional maxLength number ➜ number
The maximum length of this string
optional minLength number ➜ number
The minimum length of this string
optional regex type ➜ RegExp
The string needs to match this regex
optional startsWith string ➜ string
This string needs to start with ...