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