Array
-
Returns the arrays elements in paired tuples
let a = ["zero", "one", "two", "three", "four"] let p = array.paired() // [("zero", "one"), ("one", "two"), ("two", "three"), ("three", "four")]Declaration
Swift
public func paired() -> [(Element, Element)]
-
A convenience method to draw an array of Rays
Declaration
Swift
public func draw()
-
A convenience method to draw an array of Shapes
Declaration
Swift
public func draw()
-
Returns a boolean indicating whether all elements of the array are
trueDeclaration
Swift
public func allTrue() -> Bool -
Returns a boolean indicating whether all elements of the array are
falseDeclaration
Swift
public func allFalse() -> Bool
View on GitHub
Array Extension Reference