is

public function is(o:Object, t:string):Boolean
Checks if a object is of a specific type for example an array.

Params

Name Type Description
o Object Object to check type of.
t string Optional type to check for.

Returns

Boolean true/false if the object is of the specified type.