We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6f0c4e commit 0b2ab62Copy full SHA for 0b2ab62
CodingSeb.ExpressionEvaluator/ExpressionEvaluator.cs
@@ -2745,7 +2745,7 @@ public object EvaluateArg(int index)
2745
/// <typeparam name="T">The type of the result to get. (Do a cast)</typeparam>
2746
/// <param name="index">The index of the function's arg to evaluate</param>
2747
/// <returns>The evaluated arg casted in the specified type</returns>
2748
- public object EvaluateArg<T>(int index)
+ public T EvaluateArg<T>(int index)
2749
{
2750
return (T)evaluateFunc(Args[index]);
2751
}
0 commit comments