Hello,
I am wondering if we are allowed to used linq functions like List.Exists within javascript.
Currently, I have this line
Is this something I can do, or do I have to do things the old fashioned way?
I am wondering if we are allowed to used linq functions like List.Exists within javascript.
Currently, I have this line
if (child.Name == "tr" && accountList.Exists(p => p == child.ChildNodes[1].InnerText))
{ }
But it's giving me a syntax error. accountList is passed in through engine.Script[key] = value;
where key = "accountList" and the value is a List<string>Is this something I can do, or do I have to do things the old fashioned way?