Svelte Form validation rules module.
- Source:
(require("svelte-form/rule/between"))(msg, arg1, arg2) → {boolean|string}
- Source:
Between numbers rule
Parameters:
Name | Type | Description |
---|---|---|
msg |
string | error message. |
arg1 |
number | min number. |
arg2 |
number | max number. |
Returns:
true when valid, error message otherwise.
- Type
- boolean | string