nonNullable: NonNullablePattern

P.nonNullable is a wildcard pattern, matching everything except null or undefined.

Read the documentation for P.nonNullable on GitHub

Example

.with(P.nonNullable, (x) => `${x} isn't null nor undefined`)