Float

extension Float: Identifier
  • Creates a float identifier from a given string representation.

    Throws

    An IdentifierError.invalidValue if the given string cannot be converted to a Float.

    Declaration

    Swift

    public init(value: String) throws
  • The string representation of the identifier.

    Declaration

    Swift

    public var value: String { get }