Int
extension Int: ScalarConstructible
extension Int: SexagesimalConvertible
extension Int: ScalarRepresentable
extension Int: YAMLEncodable
-
Construct an instance of
Int, if possible, from the specified scalar.Declaration
Swift
public static func construct(from scalar: Node.Scalar) -> Int?Parameters
scalarThe
Node.Scalarfrom which to extract a value of typeInt, if possible.Return Value
An instance of
Int, if one was successfully extracted from the scalar.
View on GitHub
Install in Dash