- Preparing search index...
- The search index is not available
nope-js-node
Function keepPropertiesOfObject
- keepPropertiesOfObject(obj, properties): any
-
Parameters
-
obj: any
-
properties: {
[index: string]: (() => any);
}
-
[index: string]: (() => any)
Returns any
Function to adapt the Object and only return a specific amount of elements.