mirror of
https://github.com/Respect/Validation.git
synced 2026-03-17 15:50:03 +01:00
684 B
684 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: