values-in

v0.9.6arrow_drop_down
v0.9.6
STATUS
Passing
DOWNLOADS
2
VISIBILITY
Public
PUBLISHED
5 years ago
SIZE
705 B
Returns a list of all the properties, including prototype properties, of the supplied object.
1 contributor
Install values-in as a package?
Copied
npm i @bit/justin-capalbo.ramda.values-in
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.cloud
Component Example
React
React
Vue
Angular
React Native
Add dependency... help_outline
Just
import
any of the 1 million components
and packages in Bit or NPM to the example.
import Button from '@bit/grommet.grommet.button';
import Lodash from 'lodash';
toggle layout
No preview available
modifieddraft
chevron_left
chevron_right
valuesIn (
obj:Object
) : Array

Returns a list of all the properties, including prototype properties, of the supplied object. Note that the order of the output array is not guaranteed to be consistent across different JS platforms.

Example
const F = function() { this.x = 'X'; };
     F.prototype.y = 'Y';
     const f = new F();
     R.valuesIn(f); //=> ['X', 'Y']
Argument
obj: Object

The object to extract values from

Returns
Array

An array of the values of the object's own and prototype properties.

Help and resources