Array
extension Array
extension Array: NodeRepresentable
-
Construct an Array of
Anyfrom the specifiedsequence.Declaration
Swift
public static func construct_seq(from sequence: Node.Sequence) -> [Any]Parameters
sequenceSequence to convert to
Array<Any>.Return Value
Array of
Any. -
Construct an “O-map” (array of
(Any, Any)tuples) from the specifiedsequence.Declaration
Swift
public static func construct_omap(from sequence: Node.Sequence) -> [(Any, Any)]Parameters
sequenceSequence to convert to
Array<(Any, Any)>.Return Value
Array of
(Any, Any)tuples. -
Construct an array of
(Any, Any)tuples from the specifiedsequence.Declaration
Swift
public static func construct_pairs(from sequence: Node.Sequence) -> [(Any, Any)]Parameters
sequenceSequence to convert to
Array<(Any, Any)>.Return Value
Array of
(Any, Any)tuples.
View on GitHub
Install in Dash