mirror of
https://github.com/Respect/Validation.git
synced 2024-06-26 09:10:08 +02: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: