Const
P.nonNullable is a wildcard pattern, matching everything except null or undefined.
P.nonNullable
Read the documentation for P.nonNullable on GitHub
.with(P.nonNullable, (x) => `${x} isn't null nor undefined`) Copy
.with(P.nonNullable, (x) => `${x} isn't null nor undefined`)
P.nonNullable
is a wildcard pattern, matching everything except null or undefined.Read the documentation for
P.nonNullable
on GitHub