https://kotlinlang.org logo
d

debug

09/18/2016, 4:10 PM
@punksta create an interface, make the target class implement it and do an
is
check, or simply make the function take the parameter of that interface type