@loadsmart/utils-object
TypeScript icon, indicating that this package has built-in type declarations

0.3.1 • Public • Published

utils-object

useful functions for manipulating objects.

Install via NPM

$ npm i @loadsmart/utils-object --save

Install via yarn

$ yarn add @loadsmart/utils-object

Usage

import React from 'react'
import { isNil } from '@loadsmart/utils-object'

export default ({ user }) => {
  return <h1>{`Hello, ${isNil(user) ? 'guest' : user.name}`}</h1>
}

/@loadsmart/utils-object/

    Package Sidebar

    Install

    npm i @loadsmart/utils-object

    Weekly Downloads

    115

    Version

    0.3.1

    License

    MIT

    Unpacked Size

    3.88 kB

    Total Files

    12

    Last publish

    Collaborators

    • felipe.asantos
    • giovannitoledo
    • douglasklein2
    • luiz.loadsmart
    • mwconceicao
    • yidi0912
    • lenoir.zamboni
    • diogomafra
    • oliver.tso
    • loadsmart-frontend
    • brennervaz
    • raittes
    • welingtonms-loadsmart
    • gutofoletto