@unction/ispresent
TypeScript icon, indicating that this package has built-in type declarations

4.1.4 • Public • Published

@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

/@unction/ispresent/

    Package Sidebar

    Install

    npm i @unction/ispresent

    Weekly Downloads

    50

    Version

    4.1.4

    License

    ISC

    Unpacked Size

    16.9 kB

    Total Files

    25

    Last publish

    Collaborators

    • krainboltgreene