Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(operators): clarify that find can emit undefined #6538

Merged
merged 1 commit into from Aug 5, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/internal/operators/find.ts
Expand Up @@ -31,7 +31,8 @@ export function find<T>(predicate: (value: T, index: number, source: Observable<
* `find` searches for the first item in the source Observable that matches the
* specified condition embodied by the `predicate`, and returns the first
* occurrence in the source. Unlike {@link first}, the `predicate` is required
* in `find`, and does not emit an error if a valid value is not found.
* in `find`, and does not emit an error if a valid value is not found
* (emits `undefined` instead).
*
* ## Example
* Find and emit the first click that happens on a DIV element
Expand Down