Skip to content

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

Closed
fmoessle wants to merge 2 commits intolodash:masterfrom
fmoessle:master
Closed

Mention _.omit in _.pick and _.omitBy in _.pickBy documentation.#213
fmoessle wants to merge 2 commits intolodash:masterfrom
fmoessle:master

Conversation

@fmoessle
Copy link
Copy Markdown

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

@jsf-clabot
Copy link
Copy Markdown

jsf-clabot commented Aug 20, 2019

CLA assistant check
All committers have signed the CLA.

Comment thread docs/4.17.15.html Outdated
<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
Copy Markdown
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

@jonchurch jonchurch changed the title Enhance docs Mention _.omit in _.pick and _.omitBy in _.pickBy documentation. Dec 5, 2025
@jonchurch
Copy link
Copy Markdown
Member

These kinds of changes should target the JSDoc of lodash.js in the main lodash repo, so they are not overwritten when the docs are regenerated in the future.

The docs are generatd from the JSDoc in the source.

@jdalton
Copy link
Copy Markdown
Member

jdalton commented Mar 31, 2026

Thank you, closing out as stale.

@jdalton jdalton closed this Mar 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants