Popularity
1.9
Growing
Activity
7.0
Growing
113
1
2

Description

Pattern Matching is a declarative much more powerful and less verbose alternative to imperatives "if/else" conditions. A definition can be found inside Scala Documentation “Pattern matching tests whether a given value (or sequence of values) has the shape defined by a pattern, and, if it does, binds the variables in the pattern to the corresponding components of the value (or sequence of values).” In Functional Programming languages, there're built-in keywords for Pattern Matching. Typescript though is one language that works very well with Functional Programming but lacks this feature. This package aims to bring Pattern Matching feature to Typescript through Discriminated Union Types / Algebraic Data Types.

Monthly Downloads: 0
Programming language: TypeScript
License: MIT License
Tags: Nodejs     Functional Programming     React     TypeScript     JavaScript     Fp     Typesafe    

pattern-matching-ts alternatives and similar modules

Based on the "Functional Programming" category.
Alternatively, view Index alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of pattern-matching-ts or a related project?

Add another 'Functional Programming' Module