Collection

extension Collection
  • A Boolean value indicating whether the collection is not empty.

    Declaration

    Swift

    @inlinable
    public var isNotEmpty: Bool { get }