MCPcopy Create free account
hub / github.com/ReactiveX/RxGo / HasItemsNoOrder

Function HasItemsNoOrder

assert.go:121–126  ·  view source on GitHub ↗

HasItemsNoOrder checks that an observable produces the corresponding items regardless of the order.

(items ...interface{})

Source from the content-addressed store, hash-verified

119
120// HasItemsNoOrder checks that an observable produces the corresponding items regardless of the order.
121func HasItemsNoOrder(items ...interface{}) RxAssert {
122 return newAssertion(func(a *rxAssert) {
123 a.checkHasItemsNoOrder = true
124 a.itemsNoOrder = items
125 })
126}
127
128// IsNotEmpty checks that the observable produces some items.
129func IsNotEmpty() RxAssert {

Callers 8

Test_Defer_MultipleFunction · 0.85
Test_MergeFunction · 0.85
Test_StartFunction · 0.85

Calls 1

newAssertionFunction · 0.85

Tested by 8

Test_Defer_MultipleFunction · 0.68
Test_MergeFunction · 0.68
Test_StartFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…