Skip to main content
The Deno 2 Release Candidate is here
Learn more
->
Dismiss
Products
Open Source
Deno
Modern runtime for JavaScript and TypeScript
Fresh
Web framework designed for the edge
JSR
TypeScript-first ESM package registry
Commercial
Deno for Enterprise
Enterprise support for runtime projects
Deploy
Easy serverless hosting for your JavaScript projects
Subhosting
Securely run untrusted code in a scalable sandbox
Docs
Modules
Standard Library
JSR
Node.js & npm
Current path
deno.land/x
Community
Discord
GitHub
X
YouTube
Mastodon
Blog
Search…
⌘K
Module
x
/
match
/
lib
/
match.ts
A simple pattern matching library for people who love currying!
behaviorland/match
Version
Latest
v1.0.0
Menu
match.ts
v
match
option.ts
T
None
T
Option
T
Some
v
isNone
v
isSome
v
none
v
some
import
*
as
match
from
"https://deno.land/x/match@v1.0.0/lib/match.ts"
;
Variables
v
match