Skip to content

Queryable.firstOrThrow

Compare
Choose a tag to compare
@isidore isidore released this 22 Nov 02:48
· 14 commits to master since this release
return Queryable.as(1, 2, 3).firstOrThrow(i -> 2 < i, () -> new RuntimeException("Nothing bigger than 2")