It depends on what you want to check for. If you want to check that a component/strand has a certain bead, then yes, use getBeadByType(). If you want to check if myObj implements IMyInterface, then check
If (myObj is IMyInterface) Hope that’s clear. From: Maria Jose Esteve<mailto:[email protected]> Sent: Wednesday, July 1, 2020 8:50 PM To: [email protected]<mailto:[email protected]> Subject: RE: Know if a class implements a certain interface Sorry, my head is gone .. getBeadByType 😝 De: Maria Jose Esteve <[email protected]> Enviado el: miércoles, 1 de julio de 2020 19:44 Para: [email protected] Asunto: Know if a class implements a certain interface Hi, How to know if a class implements a certain interface? Do you know any direct method? Thx. Hiedra.
