Array
struct Array<Element> : CollectionType, MutableCollectionType, _DestructorSafeContainer
Adds convenience method for Array
.
-
Convenience method for setting optional values from empty arrays in
JSON
objects.Declaration
Swift
public var nonEmpty:Array<Element>?
Return Value
self if self has count greater than 0, nil otherwise.