…lues here which simply extracts the RHS values from an object, but you get the idea from it, right? You have to get the values in a format that can be used in other places and almost every time it’s an array.Are you using enums to the fullest?1032Abhishek PathakDr. Derek Austin 🥳·Dec 18, 2020I can definitely see using .includes() to replace the multiple || OR statements in the first example. But what's going on with the next example? Where are those "type:" and "ObjectID" and "enum:" coming from? Is this a database schema?