lib/totally_lazy/predicates.rb in totally_lazy-0.1.25 vs lib/totally_lazy/predicates.rb in totally_lazy-0.1.26

- old
+ new

@@ -1,6 +1,14 @@ module Predicates private def _not(pred) -> (bool) { !pred.(bool) } end + + def is_left? + -> (either) { either.is_left? } + end + + def is_right? + -> (either) { either.is_right? } + end end \ No newline at end of file