Indicates whether this field is allowed to be NULL.
If required is TRUE, then NULL is disallowed.
See the section on missingValues for how,
in the physical representation of the data, strings can represent NULL values.
constraints.checkRequired(constraint, value)
| constraint | set TRUE to check required values |
|---|---|
| value | value to check |
TRUE if field is required
constraints.checkRequired(constraint = FALSE, value = 1)#> [1] TRUEconstraints.checkRequired(constraint = TRUE, value = 0)#> [1] TRUEconstraints.checkRequired(constraint = TRUE, value = NULL)#> [1] FALSEconstraints.checkRequired(constraint = TRUE, value = "undefined")#> [1] FALSE