Initializer

init(_:)

Creates a language tag with the given string.

Declaration

init(_ rawValue: String)

Discussion

This initializer is equivalent to init(rawValue:).

See Also

Creating Custom Language Tags

init(rawValue: String)

Creates a language tag with the given string as its raw value.