Skip to content

swift_isClassType(__)

0x41c edited this page Feb 28, 2022 · 2 revisions

swift_isClassType(_:)

Determines whether the provided type is a class type.

@_silgen_name("swift_isClassType")
func swift_isClassType(
    _ type: Any.Type
) -> Bool

Parameters

  • type: The type to perform the check on.

Returns

True if type is a class type, and false otherwise.

Types
Protocols
Global Typealiases
Global Functions
Clone this wiki locally