Type.getInterfaces Method

Returns an Array object that contains the list of interfaces that the type implements.

var a = typeVar.getInterfaces();

An Array object that contains the list of interfaces that the type implements.

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.

Community Additions

Show: