ObjectType()
Validates whether the input is an object.
v::objectType()->isValid(new stdClass); // true| Mode | Template |
|---|---|
default |
{{subject}} must be an object |
inverted |
{{subject}} must not be an object |
| Placeholder | Description |
|---|---|
subject |
The validated input or the custom validator name (if specified). |
- Objects
- Types
| Version | Description |
|---|---|
| 1.0.0 | Renamed from Object to ObjectType |
| 0.3.9 | Created as Object |
See also: