@loadsmart/utils-object
v0.3.1
Published
useful functions for manipulating objects
Downloads
566
Maintainers
Keywords
Readme
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>
}