Validates that a value is false
.
Check the IsTrue rule for a true
validation.
IsFalse(
?string $message = null
);
// anything else will be false
Validator::isFalse()->validate(false); // true
type: ?string
default: The {{ name }} value should be false.
Message that will be shown if the value is false.
The following parameters are available:
Parameter | Description |
---|---|
{{ value }} |
The current invalid value |
{{ name }} |
Name of the invalid value |
1.3.0
Created