Const
P.any is a wildcard pattern, matching any value.
P.any
Read the documentation for P.any on GitHub
match(value) .with(P.any, () => 'will always match') Copy
match(value) .with(P.any, () => 'will always match')
P.any
is a wildcard pattern, matching any value.Read the documentation for
P.any
on GitHub