TakeUntilBehavior

public enum TakeUntilBehavior

Behaviors for the takeUntil(_ behavior:predicate:) operator.

  • Include the last element matching the predicate.

    Declaration

    Swift

    case inclusive
  • Exclude the last element matching the predicate.

    Declaration

    Swift

    case exclusive