Function valueRecipe

  • Converts a value recipe to its evaluator function.

    Type Parameters

    • TValue

      Evaluated value type. This can not be a function.

    • TArgs extends unknown[]

      A type of parameters tuple required for value evaluation.

    Parameters

    • recipe: ValueRecipe<TValue, TArgs>

      Value recipe to convert.

    Returns ValueRecipe.Evaluator<TValue, TArgs>

    Either evaluator itself, or the one evaluating to the given value.

Generated using TypeDoc