@@ -940,12 +940,12 @@ added: v0.6.0
940
940
deprecated: v4.0.0
941
941
-->
942
942
943
- > Stability: 0 - Deprecated
943
+ > Stability: 0 - Deprecated: Use [ ` Array.isArray() ` ] [ ] instead.
944
944
945
945
* ` object ` {any}
946
946
* Returns: {boolean}
947
947
948
- Internal alias for [ ` Array.isArray ` ] [ ] .
948
+ Alias for [ ` Array.isArray() ` ] [ ] .
949
949
950
950
Returns ` true ` if the given ` object ` is an ` Array ` . Otherwise, returns ` false ` .
951
951
@@ -966,7 +966,7 @@ added: v0.11.5
966
966
deprecated: v4.0.0
967
967
-->
968
968
969
- > Stability: 0 - Deprecated
969
+ > Stability: 0 - Deprecated: Use ` typeof value === 'boolean' ` instead.
970
970
971
971
* ` object ` {any}
972
972
* Returns: {boolean}
@@ -1078,7 +1078,7 @@ added: v0.11.5
1078
1078
deprecated: v4.0.0
1079
1079
-->
1080
1080
1081
- > Stability: 0 - Deprecated
1081
+ > Stability: 0 - Deprecated: Use ` typeof value === 'function' ` instead.
1082
1082
1083
1083
* ` object ` {any}
1084
1084
* Returns: {boolean}
@@ -1106,7 +1106,7 @@ added: v0.11.5
1106
1106
deprecated: v4.0.0
1107
1107
-->
1108
1108
1109
- > Stability: 0 - Deprecated
1109
+ > Stability: 0 - Deprecated: Use ` value === null ` instead.
1110
1110
1111
1111
* ` object ` {any}
1112
1112
* Returns: {boolean}
@@ -1131,7 +1131,8 @@ added: v0.11.5
1131
1131
deprecated: v4.0.0
1132
1132
-->
1133
1133
1134
- > Stability: 0 - Deprecated
1134
+ > Stability: 0 - Deprecated: Use
1135
+ > ` value === undefined || value === null ` instead.
1135
1136
1136
1137
* ` object ` {any}
1137
1138
* Returns: {boolean}
@@ -1156,7 +1157,7 @@ added: v0.11.5
1156
1157
deprecated: v4.0.0
1157
1158
-->
1158
1159
1159
- > Stability: 0 - Deprecated
1160
+ > Stability: 0 - Deprecated: Use ` typeof value === 'number' ` instead.
1160
1161
1161
1162
* ` object ` {any}
1162
1163
* Returns: {boolean}
@@ -1182,13 +1183,15 @@ added: v0.11.5
1182
1183
deprecated: v4.0.0
1183
1184
-->
1184
1185
1185
- > Stability: 0 - Deprecated
1186
+ > Stability: 0 - Deprecated:
1187
+ > Use ` value !== null && typeof value === 'object' ` instead.
1186
1188
1187
1189
* ` object ` {any}
1188
1190
* Returns: {boolean}
1189
1191
1190
1192
Returns ` true ` if the given ` object ` is strictly an ` Object ` ** and** not a
1191
- ` Function ` . Otherwise, returns ` false ` .
1193
+ ` Function ` (even though functions are objects in JavaScript).
1194
+ Otherwise, returns ` false ` .
1192
1195
1193
1196
``` js
1194
1197
const util = require (' util' );
@@ -1209,7 +1212,9 @@ added: v0.11.5
1209
1212
deprecated: v4.0.0
1210
1213
-->
1211
1214
1212
- > Stability: 0 - Deprecated
1215
+ > Stability: 0 - Deprecated: Use
1216
+ > ` (typeof value !== 'object' && typeof value !== 'function') || value === null `
1217
+ > instead.
1213
1218
1214
1219
* ` object ` {any}
1215
1220
* Returns: {boolean}
@@ -1270,7 +1275,7 @@ added: v0.11.5
1270
1275
deprecated: v4.0.0
1271
1276
-->
1272
1277
1273
- > Stability: 0 - Deprecated
1278
+ > Stability: 0 - Deprecated: Use ` typeof value === 'string' ` instead.
1274
1279
1275
1280
* ` object ` {any}
1276
1281
* Returns: {boolean}
@@ -1296,7 +1301,7 @@ added: v0.11.5
1296
1301
deprecated: v4.0.0
1297
1302
-->
1298
1303
1299
- > Stability: 0 - Deprecated
1304
+ > Stability: 0 - Deprecated: Use ` typeof value === 'symbol' ` instead.
1300
1305
1301
1306
* ` object ` {any}
1302
1307
* Returns: {boolean}
@@ -1320,7 +1325,7 @@ added: v0.11.5
1320
1325
deprecated: v4.0.0
1321
1326
-->
1322
1327
1323
- > Stability: 0 - Deprecated
1328
+ > Stability: 0 - Deprecated: Use ` value === undefined ` instead.
1324
1329
1325
1330
* ` object ` {any}
1326
1331
* Returns: {boolean}
@@ -1379,7 +1384,7 @@ deprecated: v0.11.3
1379
1384
Deprecated predecessor of ` console.log ` .
1380
1385
1381
1386
[ `'uncaughtException'` ] : process.html#process_event_uncaughtexception
1382
- [ `Array.isArray` ] : https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/isArray
1387
+ [ `Array.isArray() ` ] : https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/isArray
1383
1388
[ `Buffer.isBuffer()` ] : buffer.html#buffer_class_method_buffer_isbuffer_obj
1384
1389
[ `Error` ] : errors.html#errors_class_error
1385
1390
[ `Object.assign()` ] : https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign
0 commit comments