I am having an issue using this function. The documents shows the example
.Add(Linq._In('Status', [TInvoiceStatus.Approved, TInvoiceStatus.Rejected]))
The array is specified as Values: TArray<Variant>
I have an array (created as required)
MyArray: TArray<Variant>; //the values are all strings
but if I call
TEntityListArgs(FArgs).Criteria.Add(Linq._In('MyField', MyArray));
I get the exception
E2250 There is no overloaded version of '_In' that can be called with these arguments
Any ideas of how to implement this? thanks