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
true
Declaration
Swift
public func allTrue() -> Bool
-
Returns a boolean indicating whether all elements of the array are
false
Declaration
Swift
public func allFalse() -> Bool