firstOrNull

fun firstOrNull(): T?

Get the first entity from the stream

Return

the entity or null if there is no object in stream