@mikuroxina/mini-fn
    Preparing search index...

    Variable evalContConst

    evalCont: <R>(cont: Cont.Cont<R, R>) => R = ...

    Runs the computation with the identity from R to R.

    Type Declaration

      • <R>(cont: Cont.Cont<R, R>): R
      • Type Parameters

        • R

        Parameters

        Returns R

        The running result.

        Examples

    const actual = evalCont<number>(pure(42));
    expect(actual).toStrictEqual(42);