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

Function IsEmpty

assert.go:136–140  ·  view source on GitHub ↗

IsEmpty checks that the observable has not produce any item.

()

Source from the content-addressed store, hash-verified

134
135// IsEmpty checks that the observable has not produce any item.
136func IsEmpty() RxAssert {
137 return newAssertion(func(a *rxAssert) {
138 a.checkHasNoItems = true
139 })
140}
141
142// HasError checks that the observable has produce a specific error.
143func HasError(err error) RxAssert {

Calls 1

newAssertionFunction · 0.85

Used in the wild real call sites across dependent graphs

searching dependent graphs…