libphutil Technical DocumentationCore Utilities
function assert_instances_of($arr, $class)
Checks if all values of array are instances of the passed class. Throws InvalidArgumentException if it isn't true for any value.
|string||$class||Name of the class or 'array' to check arrays.|
|array||Returns passed array.|
This is a very early prototype of a persistent column. It is not expected to work yet, and leaving it open will activate other new features which will break things. Press "\" (backslash) on your keyboard to close it now.