Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/gvergnaud/ts-pattern
/ variadic-tuples.test.ts
File
variadic-tuples.test.ts
tests/variadic-tuples.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ match, P } from
'../src'
;
2
import
{ Equal, Expect } from
'../src/types/helpers'
;
3
4
describe(
'variadic tuples ([a, ...b[]])'
, () => {
Callers
nothing calls this directly
Calls
8
match
Function · 0.90
throws
Function · 0.85
otherwise
Method · 0.80
with
Method · 0.80
select
Method · 0.80
exhaustive
Method · 0.80
f
Function · 0.70
fn
Function · 0.70
Tested by
no test coverage detected