diff --git a/JsonLogic.Net/EvaluateOperators.cs b/JsonLogic.Net/EvaluateOperators.cs index 18a2146..eb9e6c8 100644 --- a/JsonLogic.Net/EvaluateOperators.cs +++ b/JsonLogic.Net/EvaluateOperators.cs @@ -320,8 +320,9 @@ private Func GenericArgsSatisfy(Fun return (p, args, data) => { var values = args - .Select(a => p.Apply(a, data)); - + .Select(a => p.Apply(a, data)) + .ToList(); + var isAllText = values .Where(a => a != null) .Select(a => JToken.FromObject(a))