npm.io
4.1.4 • Published 6 years ago

@unction/ispresent

Licence
ISC
Version
4.1.4
Deps
0
Size
17 kB
Vulns
0
Weekly
0

@unction/isPresent

Tests Stability Dependencies

A => boolean

This lets you know if it's a non-null, non-undefined value.

isPresent('x') // true
isPresent([]) // true
isPresent(null) // false
isPresent(undefined) // false

Keywords