Package-level declarations
Functions
Link copied to clipboard
Adapted from single and singleOrNull. Returns the single element, or null if the flow is empty. If the flow has more than one element, throws IllegalArgumentException.
Adapted from single and singleOrNull. Returns the single element matching the given predicate, or null if no elements match. If more than one element matches, throws IllegalArgumentException.