isAssignableBy

abstract fun isAssignableBy(other: ResolvedType): Boolean(source)

This method checks if ThisType t = new OtherType() would compile.