firstOrNull

open override fun firstOrNull(): Document?(source)

Returns the first document found by this query, or null if none were found.

See also