Socket
Book a DemoInstallSign in
Socket

lodash-extra

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lodash-extra

An extended version of the popular lodash library, with lot of exciting extra utility functions

1.0.2
latest
Source
npmnpm
Version published
Weekly downloads
2
Maintainers
1
Weekly downloads
 
Created
Source

lodash-extra

An extended version of the popular lodash library, with lot of exciting extra utility functions

Installation

npm i lodash-extra

Usage

const _ = require('lodash-extra');

console.log(_.isBlank("Hello World"));

Functions

_.isNumericString(str) ⇒

Checks if the given str is a string representation of a valid number or not. Float and Int both types are considered valid numbers.

Kind: static method of _ Returns:

boolean

ParamTypeDescription
strstring

Inut string

_.isBlank(val) ⇒

Checks if the given val is either null or string which is blank or empty or contains only white spaces

Kind: static method of _ Returns:

boolean

ParamTypeDescription
valany

Input value

_.isNotBlank(val) ⇒

Checks if the given val is string and not null or blank or empty or contains only white spaces

Kind: static method of _ Returns:

boolean

ParamTypeDescription
valany

Input value

Keywords

lodash

FAQs

Package last updated on 20 Jul 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.