Skip to content

Translation 🌍

You can translate or improve the translation of this page.

Contribute

EXTENSION

Template.Attribute.Value

swift
extension Template.Attribute.Value: ExpressibleByStringLiteral

Methods

init(stringLiteral:)

swift
public init(stringLiteral value: String)

Parameters

NameDescription
valueThe value of the new instance.

init(integerLiteral:)

swift
public init(integerLiteral value: Int)

Parameters

NameDescription
valueThe value to create.

init(floatLiteral:)

swift
public init(floatLiteral value: Double)

Parameters

NameDescription
valueThe value to create.

init(booleanLiteral:)

swift
public init(booleanLiteral value: Bool)

Parameters

NameDescription
valueThe value of the new instance.

init(dictionaryLiteral:)

swift
public init(dictionaryLiteral elements: (String, Template.Attribute.Value)...)

init(arrayLiteral:)

swift
public init(arrayLiteral elements: Template.Attribute.Value...)

Released under the MIT License.