Skip to content

is-unknown/is-length

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

is-length

Check if a value is a safe integer that is not negative - a valid array-like length.

Installation

npm install @is-(unknown)/is-length

Usage

var isLength = require("@is-(unknown)/is-length")

isLength(3) // => true
isLength("3") // => false
isLength(-19) // => false
isLength(Number.MAX_VALUE) // => false
isLength(Infinity) // => false

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors