Skip to content

Can I rely on group$.key from groupBy? #6101

Answered by cartant
Sawtaytoes asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, it's an exported type:

/**
* An observable of values that is the emitted by the result of a {@link groupBy} operator,
* contains a `key` property for the grouping.
*/
export interface GroupedObservable<K, T> extends Observable<T> {
/**
* The key value for the grouped notifications.
*/
readonly key: K;
}

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Sawtaytoes
Comment options

Answer selected by Sawtaytoes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants