Contents

firstObject

The first object in the array.

Declaration

var firstObject: Any? { get }

Discussion

If the array is empty, returns nil.

See Also

Querying an Array