mapNullable

fun <T : Any> Predicate<T>.mapNullable(): (T?) -> Boolean