representsType

abstract fun representsType(name: String?): Boolean

Determines whatever this declaration represents the specified type.

Return

true if this type represents the specified type, false otherwise.

Parameters

name

the name of type to compare. It can be either a simple name or a fully qualified name.