back to Overview

_.isNumber()

Checks whether the given reference is a number as defined by typeof.
Util module only.

Syntax

_.isNumber(obj)

Parameters

obj
the object to test
(return value)
true if the object is a number, false otherwise.

Description

Checks whether the given reference is a number as defined by typeof.

See also..

  • _.isValue() matches basic types such as dates numbers.

Comments

comments powered by Disqus

back to Overview

Functions