booster / com.didiglobal.booster.transform / Klass / isAssignableFrom

isAssignableFrom

abstract fun isAssignableFrom(type: String): Boolean

Tests if this class is assignable from the specific type

Parameters

type - the qualified name of type

abstract fun isAssignableFrom(klass: Klass): Boolean

Tests if this class is assignable from the specific type

Parameters

klass - the Klass object to be checked