Profectus / features/feature / findFeatures
Function: findFeatures() ​
findFeatures(
obj, ...types):unknown[]
Traverses an object and returns all features of the given type(s)
Parameters ​
obj ​
object
The object to traverse
types ​
...symbol[]
The feature types that will be searched for
Returns ​
unknown[]