cats
An instance of NotNull[A] indicates that A does not have a static type of Null.
NotNull[A]
A
Null
This can be useful in preventing Null from being inferred when a type parameter is omitted.
An instance of
NotNull[A]
indicates thatA
does not have a static type ofNull
.This can be useful in preventing
Null
from being inferred when a type parameter is omitted.