Initializer

init(rawValue:)

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

Declaration

init(rawValue: String)

Discussion

This initializer is equivalent to init(_:).

See Also

Creating Custom Language Tags

init(String)

Creates a language tag with the given string.