How to check what other types does `MyType` extends or mixes


#1

For

entity type MyType extends A mixes B {
}

Is there a function that gets me ['A', 'B']?


#2

In JS type system: MyType.mixins()