1.0.30 • Published 3 years ago
@douglasrosa/utils v1.0.30
Tools for use in Javascript projects.
Install
npm i @douglasrosa/utils OR yarn add @douglasrosa/utils
Import
const utils = require("@douglasrosa/utils") OR const { ... } = require('@douglasrosa/utils') OR import { ... } from '@douglasrosa/utils'
Function | Description |
---|---|
isBlank(any) | Verify if value is blank |
isPresent(any) | Verify if value is present |
toArray(any) | Convert to array |
mod10(String) | Digit verifier to use in barcode serial |
cleanObject(Object) | Set the value of keys to null OR deletes them |