UNPKG
@proem/some
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
0.0.12
0.0.6
Proem package for handling possibly null values
github.com/wunderdogsw/proem
wunderdogsw/proem
@proem/some
/
README.md
13 lines
(8 loc)
•
202 B
Markdown
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
# `@proem/some`
Library
for
handling values that can be
null
.
## Usage
```ts import some
from
'@proem/some'
const
name =
'Jane'
as
string
|
null
const
nameLength = some.map(name, n => n.length) ```