Skip to content

swift_getTypeName(for_qualified_)

tevelee edited this page Jul 21, 2026 · 1 revision

swift_getTypeName(for:qualified:)

Gets the types name, either qualified (full name representation), or non qualified (just the type name).

public func swift_getTypeName(
  for type: Any.Type,
  qualified: Bool
) -> String 

Parameters

  • type: Type to get the name of.
  • qualified: Whether or not this name should be qualified.

Returns

A string who contains the name of the type.

swift_getTypeName(for:qualified:)

Gets the types name, either qualified (full name representation), or non qualified (just the type name).

public func swift_getTypeName(
  for metadata: Metadata,
  qualified: Bool
) -> String 

Parameters

  • metadata: Type metadata to get the name of.
  • qualified: Whether or not this name should be qualified.

Returns

A string who contains the name of the type metadata.

Types
Protocols
Global Typealiases
Global Variables
Global Functions

Clone this wiki locally