filter

fun <T : Any> GLazy<T>.filter(filter: (T) -> Boolean): GLazy<T>

Filters GLazy values on each request and defaults to null if the current value does not match the filter

Receiver

GLazy to filter

Return

GLazy that filters out values on request

Parameters

filter

to apply