Skip to content

Conversation

@fmoessle
Copy link

Mention _.omit in _.pick and _.omitBy in _.pickBy documentation.

@jsf-clabot
Copy link

jsf-clabot commented Aug 20, 2019

CLA assistant check
All committers have signed the CLA.

<h3 id="pick"><a href="#pick" class="fa fa-link"></a><code>_.pick(object, [paths])</code></h3>
<p><a href="https://github.com/lodash/lodash/blob/4.17.15/lodash.js#L13559">source</a> <a href="https://www.npmjs.com/package/lodash.pick">npm package</a></p>
<p>Creates an object composed of the picked <code>object</code> properties.</p>
<p>The opposite of <a href="#omit"><code>_.omit</code></a>; creates an object composed of the picked <code>object</code> properties.</p>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you make it align more with the omit flavor and do:

; this method creates

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

3 participants