Array
struct Array<Element> : RandomAccessCollection, MutableCollection
-
Removes object from the array with validation of availablity
Parameter
Parameter object: Element to deleteDeclaration
Swift
public mutating func removeObject(_ object: Element)Parameters
objectElement to delete
-
Removes array elemets form the array
Parameter
Parameter array: Elements of array to deleteDeclaration
Swift
public mutating func removeObjectsInArray(_ array: [Element])Parameters
arrayElements of array to delete
-
Returns JSON String
Declaration
Swift
public func toJSONString() -> String? -
Returns JSON Data
Declaration
Swift
public func toJSONData() -> Data?
View on GitHub
Array Extension Reference