mirror of
https://github.com/Respect/Validation.git
synced 2026-03-16 23:35:45 +01:00
606 B
606 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
See also: