• Provides a branch statement for Cont. cont will be evaluated if cond is true, otherwise it will be an empty computation.

    Parameters

    • cond: boolean

      The condition as branch statement.

    Returns (<R, M>(cont) => ContT<R, M, never[]>)

    The composed computation.

      • <R, M>(cont): ContT<R, M, never[]>
      • Type Parameters

        • R

        • M

        Parameters

        • cont: ContT<R, M, never[]>

        Returns ContT<R, M, never[]>

Generated using TypeDoc