UNPKG

@proem/some

Version:

Proem package for handling possibly null values

13 lines (8 loc) 202 B
# `@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) ```