Name

public struct Name : Hashable, Codable, Sendable
extension Name: CustomStringConvertible
extension Name: ExpressibleByStringLiteral

An unqualified name denoting an entity.

Incorporation of introducers

  • Returns self with newIntroducer incorporated into its value.

    Precondition

    self has no introducer.`

    Declaration

    Swift

    func introduced(by newIntroducer: AccessEffect) -> Name