0.41.3 • Published 1 year ago

@util.js/objects v0.41.3

Weekly downloads
1
License
MIT
Repository
github
Last release
1 year ago

@util.js/objects

JavaScript utility methods for objects

@util.js/objects is part of Util.js.

This class contains all the non-instance methods of Object in addition to:

Objects

JavaScript utility methods for objects

Kind: global class
Access: public

objects.isDefined(object) ⇒ Boolean

Returns whether the specified obj is defined (i.e., not null and not undefined).

In other words, this method returns false if and only if the object is null or undefined.

This method is useful when an expression like the following might return false when you expected true:

This happens for 0, -0, NaN, false, and the empty string ("").

Kind: instance method of Objects
Returns: Boolean - true if the given object is defined or false otherwise
Access: public

ParamTypeDescription
object*The object to check
0.41.3

1 year ago

0.41.2

1 year ago

0.41.1

3 years ago

0.41.0

3 years ago

0.40.0

3 years ago

0.40.1

3 years ago

0.39.2

5 years ago

0.39.1

5 years ago

0.39.0

5 years ago

0.38.0

5 years ago

0.37.1

5 years ago

0.37.0

5 years ago

0.36.1

5 years ago

0.36.0

5 years ago

0.35.0

5 years ago

0.34.0

5 years ago

0.33.1

5 years ago

0.33.0

5 years ago

0.32.0

5 years ago

0.31.0

5 years ago

0.30.0

5 years ago

0.29.1

5 years ago