- illegal
Return empty if type is string, otherwise return 0.
- legal
Return as legal value a random one from the array supplied, or if legal value
was set then return th
- supportedTypes
Support SupportedTypes#NUMERIC and SupportedTypes#TEXT type.
- throwExceptionOnEmptyArray
- validate
Validate candidate checking if its value is present in the array supplied.