Skip to content

Commit

Permalink
Introduce isLeft & isRight predicate API for Either (#2927)
Browse files Browse the repository at this point in the history
  • Loading branch information
nomisRev authored Feb 9, 2023
1 parent 08c7d49 commit c5717cc
Show file tree
Hide file tree
Showing 29 changed files with 326 additions and 228 deletions.
2 changes: 2 additions & 0 deletions arrow-libs/core/arrow-core/api/arrow-core.api
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,10 @@ public abstract class arrow/core/Either {
public final fun getOrNull ()Ljava/lang/Object;
public final fun isEmpty ()Z
public final fun isLeft ()Z
public final fun isLeft (Lkotlin/jvm/functions/Function1;)Z
public final fun isNotEmpty ()Z
public final fun isRight ()Z
public final fun isRight (Lkotlin/jvm/functions/Function1;)Z
public static final fun lift (Lkotlin/jvm/functions/Function1;)Lkotlin/jvm/functions/Function1;
public static final fun lift (Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;)Lkotlin/jvm/functions/Function1;
public final fun map (Lkotlin/jvm/functions/Function1;)Larrow/core/Either;
Expand Down
Loading

0 comments on commit c5717cc

Please sign in to comment.