Profectus / features/feature / excludeFeatures
Function: excludeFeatures() ​
excludeFeatures(
obj, ...types):unknown[]
Traverses an object and returns all features that are not any of the given types. Features are any object with a "type" property that has a symbol value.
Parameters ​
obj ​
Record<string, unknown>
The object to traverse
types ​
...symbol[]
The feature types that will be skipped over
Returns ​
unknown[]