mirror of
https://github.com/Respect/Validation.git
synced 2024-06-29 18:50:14 +02:00
609 B
609 B
ArrayType
v::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
See also: