Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/gvergnaud/ts-pattern
/ instance-of.test.ts
File
instance-of.test.ts
tests/instance-of.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ Expect, Equal } from
'../src/types/helpers'
;
2
import
{ match, P } from
'../src'
;
3
4
class
A {
Callers
nothing calls this directly
Calls
5
match
Function · 0.90
exhaustive
Method · 0.80
with
Method · 0.80
otherwise
Method · 0.80
get
Function · 0.70
Tested by
no test coverage detected