nullish: NullishPattern

P.nullish is a wildcard pattern, matching null or undefined.

Read the documentation for P.nullish on GitHub

Example

.with(P.nullish, (x) => `${x} is null or undefined`)