UNPKG
@proem/function
Version:
latest (0.0.23)
0.0.23
0.0.22
0.0.21
0.0.20
0.0.19
0.0.18
0.0.17
0.0.16
0.0.15
Proem package for function types and composition
github.com/wunderdogsw/proem
wunderdogsw/proem
@proem/function
/
README.md
12 lines
(7 loc)
•
221 B
Markdown
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
# `@proem/function`
Proem package
for
function type aliases
and
function composition.
## Usage
```ts import { Guard }
from
'@proem/function'
const
isString: Guard<any,
string
> =
value
=>
typeof
value
===
'string'
```