[validators.mandatory]
validators.mandatory is a slot in the validators namespace, in Hyperlambda, the language of Magic Cloud. Validates that the input value or resolved expression result is present, throwing if validation fails.
- Value (
validated-value), required: Literal value or expression to validate as mandatory
Guide
How to use validators.mandatory
JSON declaration
This is the complete declaration of validators.mandatory, as the running system describes it. It is also published as slot.json.
JSON declaration
{
"name": "validators.mandatory",
"description": "Validates that the input value or resolved expression result is present, throwing if validation fails",
"signature": {
"input": {
"kind": "validated-value",
"description": "Literal value or expression to validate as mandatory",
"required": true,
"mode": "ValueOrExpression"
}
}
}
← validators.integer |
all validators.* slots |
validators.recaptcha → |