• Returns true if fa(x) or fb(x) are true. Same as fb(x) || fa(x).

    Type Parameters

    • T

    Parameters

    Returns ((fb) => ((x) => boolean))

      • (fb): ((x) => boolean)
      • Parameters

        Returns ((x) => boolean)

          • (x): boolean
          • Parameters

            • x: T

            Returns boolean

    Example

    only(isOdd)(x => x === 2)(2)
    // => true

    only(isOdd)(x => x === 2)(4)
    // => false

Generated using TypeDoc