validation
Rejects a call that does not meet a requirement.
| Name | Category | Description |
|---|---|---|
checkMulti | hooks | Checks if the |
checkRequired | hooks | Validates that the specified fields exist on |
preventChanges | hooks | Prevents Supports dot.notation for nested fields. |
throwIf | hooks | Throws a |
throwIfIsMulti | hooks | Throws a |
throwIfIsProvider | hooks | Throws a |
checkContext | utils | Validates that the hook context matches the expected type(s) and method(s). Throws an error if the context is invalid, preventing hooks from running in unsupported configurations. Typically used internally by other hooks. Also narrows the context type based on the passed options. The options form takes the same criteria as |
See all tags for the full vocabulary.
