Filter Multiple Values from List

Hi, I have a working script of filtering out specific parameters from the project parameters in a project shown in this image. However, I feel like this is a very cumbersome and outdated way of filtering multiple elements. Is there a better way to accomplish this?

You can combine or nest conditions in a code block. That’s probably the easiest way to simplify your logic.

element.Name != "Discipline" && element.Name != "Sub-Discipline";

Which can be put in an If statement, so that the result isn’t true or false, but a list that only contains the “true” elements, the rest are null.