init(rawValue:)

    Creates a new instance with the specified raw value.

    PackageDescription.swift:386LanguageTag-initRawValue.md
    init?(rawValue: String)

    Parameters

    rawValue

    The raw value to use for the new instance.

    If there is no value of the type that corresponds with the specified raw value, this initializer returns nil.

    See also

    Other members in extension

    Type members

    Instance members