main
Last change
on this file since d565449 was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago |
Update repo after prototype presentation
|
-
Property mode
set to
100644
|
File size:
414 bytes
|
Rev | Line | |
---|
[d565449] | 1 | /**
|
---|
| 2 | * Checks if `value` is `undefined`.
|
---|
| 3 | *
|
---|
| 4 | * @static
|
---|
| 5 | * @since 0.1.0
|
---|
| 6 | * @memberOf _
|
---|
| 7 | * @category Lang
|
---|
| 8 | * @param {*} value The value to check.
|
---|
| 9 | * @returns {boolean} Returns `true` if `value` is `undefined`, else `false`.
|
---|
| 10 | * @example
|
---|
| 11 | *
|
---|
| 12 | * _.isUndefined(void 0);
|
---|
| 13 | * // => true
|
---|
| 14 | *
|
---|
| 15 | * _.isUndefined(null);
|
---|
| 16 | * // => false
|
---|
| 17 | */
|
---|
| 18 | function isUndefined(value) {
|
---|
| 19 | return value === undefined;
|
---|
| 20 | }
|
---|
| 21 |
|
---|
| 22 | export default isUndefined;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.