Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 436 Bytes

ArrayVal.md

File metadata and controls

22 lines (17 loc) · 436 Bytes

ArrayVal

  • v::arrayVal()

Validates if the input is an array or if the input can be used as an array (instance of ArrayAccess).

v::arrayVal()->validate([]); // true
v::arrayVal()->validate(new ArrayObject); // true

See also: