UInt
extension UInt: ScalarConstructible
extension UInt: SexagesimalConvertible
extension UInt: ScalarRepresentable
extension UInt: YAMLEncodable
-
Construct an instance of
UInt
, if possible, from the specified scalar.Declaration
Swift
public static func construct(from scalar: Node.Scalar) -> UInt?
Parameters
scalar
The
Node.Scalar
from which to extract a value of typeUInt
, if possible.Return Value
An instance of
UInt
, if one was successfully extracted from the scalar.