dissoc

v0.9.6arrow_drop_down
v0.9.6
STATUS
Passing
DOWNLOADS
3
VISIBILITY
Public
PUBLISHED
5 years ago
SIZE
821 B
Returns a new object that does not contain a `prop` property.
1 contributor
Install dissoc as a package?
Copied
npm i @bit/justin-capalbo.ramda.dissoc
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
dissoc (
prop:String,
obj:Object
) : Object

Returns a new object that does not contain a prop property.

Example
R.dissoc('b', {a: 1, b: 2, c: 3}); //=> {a: 1, c: 3}
Arguments
prop: String

The name of the property to dissociate

obj: Object

The object to clone

Returns
Object

A new object equivalent to the original but without the specified property

Help and resources