| P._ is a wildcard pattern, matching any value.
It's an alias to P.any .
|
| P.any is a wildcard pattern, matching any value.
|
| P.number.between(min, max) matches number between min and max ,
equal to min or equal to max.
|
| P.bigint.between(min, max) matches bigint between min and max ,
equal to min or equal to max.
|
| P.bigint is a wildcard pattern, matching any bigint.
|
| P.boolean is a wildcard pattern, matching any boolean.
|
| P.number.finite matches finite numbers.
|
| P.number.gt(min) matches number greater than min .
|
| P.bigint.gt(min) matches bigint greater than min .
|
| P.number.gte(min) matches number greater than or equal to min .
|
| P.bigint.gte(min) matches bigint greater than or equal to min .
|
| P.number.int matches integer numbers.
|
| P.number.lt(max) matches number smaller than max .
|
| P.bigint.lt(max) matches bigint smaller than max .
|
| P.number.lte(max) matches number smaller than or equal to max .
|
| P.bigint.lte(max) matches bigint smaller than or equal to max .
|
| Symbols used internally within ts-pattern to construct and discriminate
Guard, Not, and Select, and AnonymousSelect patterns
|
| P.number.negative matches negative numbers.
|
| P.bigint.negative matches negative bigints.
|
| P.nullish is a wildcard pattern, matching null or undefined.
|
| P.number is a wildcard pattern, matching any number.
|
| P.number.positive matches positive numbers.
|
| P.bigint.positive matches positive bigints.
|
| P.string is a wildcard pattern, matching any string.
|
| P.symbol is a wildcard pattern, matching any symbol.
|
| P._ is a wildcard pattern, matching any value.
It's an alias to P.any .
|
| P.any is a wildcard pattern, matching any value.
|
| P.number.between(min, max) matches number between min and max ,
equal to min or equal to max.
|
| P.bigint.between(min, max) matches bigint between min and max ,
equal to min or equal to max.
|
| P.bigint is a wildcard pattern, matching any bigint.
|
| P.boolean is a wildcard pattern, matching any boolean.
|
| P.number.finite matches finite numbers.
|
| P.number.gt(min) matches number greater than min .
|
| P.bigint.gt(min) matches bigint greater than min .
|
| P.number.gte(min) matches number greater than or equal to min .
|
| P.bigint.gte(min) matches bigint greater than or equal to min .
|
| P.number.int matches integer numbers.
|
| P.number.lt(max) matches number smaller than max .
|
| P.bigint.lt(max) matches bigint smaller than max .
|
| P.number.lte(max) matches number smaller than or equal to max .
|
| P.bigint.lte(max) matches bigint smaller than or equal to max .
|
| Symbols used internally within ts-pattern to construct and discriminate
Guard, Not, and Select, and AnonymousSelect patterns
|
| P.number.negative matches negative numbers.
|
| P.bigint.negative matches negative bigints.
|
| P.nullish is a wildcard pattern, matching null or undefined.
|
| P.number is a wildcard pattern, matching any number.
|
| P.number.positive matches positive numbers.
|
| P.bigint.positive matches positive bigints.
|
| P.string is a wildcard pattern, matching any string.
|
| P.symbol is a wildcard pattern, matching any symbol.
|