Skip to content

Commit

Permalink
revert unneeded change
Browse files Browse the repository at this point in the history
  • Loading branch information
tpolecat committed Oct 31, 2023
1 parent ba53731 commit d8a71e3
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,4 @@ class LeafPredicates[A](path: Path) {
def isNull(b: Boolean): Predicate =
IsNull(path, b)

def notDistinctFrom(a: Option[A])(using Eq[A]): Predicate =
a match
case None => isNull(true)
case Some(value) => eql(value)

}

0 comments on commit d8a71e3

Please sign in to comment.