/// <summary> /// Invokes a predicate on the value of the Either if it's in the Right state /// </summary> /// <typeparam name="L">Left</typeparam> /// <typeparam name="R">Right</typeparam> /// <param name="self">Either to forall</param> /// <param name="Right">Right predicate</param> /// <param name="Left">Left predicate</param> /// <returns>True if the predicate returns True. True if the Either is in a bottom state.</returns> public static bool ForAll <L, R>(this EitherUnsafe <L, R> self, Func <R, bool> Right, Func <L, bool> Left) => self.ForAll(Right) && self.ForAll(Left);