mirror of
https://github.com/Respect/Validation.git
synced 2026-03-16 15:25:45 +01:00
660 B
660 B
ArrayType
ArrayType()
Validates whether the type of an input is array.
v::arrayType()->validate([]); // true
v::arrayType()->validate([1, 2, 3]); // true
v::arrayType()->validate(new ArrayObject()); // false
Changelog
| Version | Description |
|---|---|
| 1.0.0 | Created |
See also: