Exports extra methods using joi.
Members
(inner) extensions :object.<function()>
- Source:
List of extensions to manually extend Joi.
Methods
(inner) validateArgument(label, value, schema)
- Source:
Validate argument.
Parameters:
Name | Type | Description |
---|---|---|
label |
string | Name of the argument. |
value |
* | Value of the argument. |
schema |
Joi.Schema | Joi schema. |