Type.getInterfaces Method
Returns an Array object that contains the list of interfaces that the type implements.
var a = typeVar.getInterfaces();
Return Value
An Array object that contains the list of interfaces that the type implements.
Remarks
Use the getInterfaces function to return a list of objects that define the interfaces on a type object. This enables you to enumerate the array to determine the object's interfaces.