Type alias Comparison<Right, Left, Predicated>

Comparison<Right, Left, Predicated>: Unary<Right, Predicate<Left, Predicated>>

Curried function that takes a Right and a Left value and returns a boolean representing a comparison between those values.

Example

const biggerThan: Comparison<number> = right => left => right > left;

Type Parameters

  • Right

  • Left extends Right = Right

  • Predicated extends Left = Left