@@ -254,7 +254,7 @@ util.inspect(obj);
254
254
255
255
Internal alias for [ ` Array.isArray ` ] [ ] .
256
256
257
- Returns ` true ` if the given "object" is an ` Array ` . ` false ` otherwise .
257
+ Returns ` true ` if the given "object" is an ` Array ` . Otherwise, returns ` false ` .
258
258
259
259
``` js
260
260
const util = require (' util' );
@@ -271,7 +271,7 @@ util.isArray({})
271
271
272
272
Stability: 0 - Deprecated
273
273
274
- Returns ` true ` if the given "object" is a ` Boolean ` . ` false ` otherwise .
274
+ Returns ` true ` if the given "object" is a ` Boolean ` . Otherwise, returns ` false ` .
275
275
276
276
``` js
277
277
const util = require (' util' );
@@ -288,7 +288,7 @@ util.isBoolean(false)
288
288
289
289
Stability: 0 - Deprecated: Use [`Buffer.isBuffer()`][] instead.
290
290
291
- Returns ` true ` if the given "object" is a ` Buffer ` . ` false ` otherwise .
291
+ Returns ` true ` if the given "object" is a ` Buffer ` . Otherwise, returns ` false ` .
292
292
293
293
``` js
294
294
const util = require (' util' );
@@ -305,7 +305,7 @@ util.isBuffer(new Buffer('hello world'))
305
305
306
306
Stability: 0 - Deprecated
307
307
308
- Returns ` true ` if the given "object" is a ` Date ` . ` false ` otherwise .
308
+ Returns ` true ` if the given "object" is a ` Date ` . Otherwise, returns ` false ` .
309
309
310
310
``` js
311
311
const util = require (' util' );
@@ -322,7 +322,8 @@ util.isDate({})
322
322
323
323
Stability: 0 - Deprecated
324
324
325
- Returns ` true ` if the given "object" is an [ ` Error ` ] [ ] . ` false ` otherwise.
325
+ Returns ` true ` if the given "object" is an [ ` Error ` ] [ ] . Otherwise, returns
326
+ ` false ` .
326
327
327
328
``` js
328
329
const util = require (' util' );
@@ -339,7 +340,8 @@ util.isError({ name: 'Error', message: 'an error occurred' })
339
340
340
341
Stability: 0 - Deprecated
341
342
342
- Returns ` true ` if the given "object" is a ` Function ` . ` false ` otherwise.
343
+ Returns ` true ` if the given "object" is a ` Function ` . Otherwise, returns
344
+ ` false ` .
343
345
344
346
``` js
345
347
const util = require (' util' );
@@ -359,7 +361,8 @@ util.isFunction(Bar)
359
361
360
362
Stability: 0 - Deprecated
361
363
362
- Returns ` true ` if the given "object" is strictly ` null ` . ` false ` otherwise.
364
+ Returns ` true ` if the given "object" is strictly ` null ` . Otherwise, returns
365
+ ` false ` .
363
366
364
367
``` js
365
368
const util = require (' util' );
@@ -376,7 +379,8 @@ util.isNull(null)
376
379
377
380
Stability: 0 - Deprecated
378
381
379
- Returns ` true ` if the given "object" is ` null ` or ` undefined ` . ` false ` otherwise.
382
+ Returns ` true ` if the given "object" is ` null ` or ` undefined ` . Otherwise,
383
+ returns ` false ` .
380
384
381
385
``` js
382
386
const util = require (' util' );
@@ -393,7 +397,7 @@ util.isNullOrUndefined(null)
393
397
394
398
Stability: 0 - Deprecated
395
399
396
- Returns ` true ` if the given "object" is a ` Number ` . ` false ` otherwise .
400
+ Returns ` true ` if the given "object" is a ` Number ` . Otherwise, returns ` false ` .
397
401
398
402
``` js
399
403
const util = require (' util' );
@@ -413,7 +417,7 @@ util.isNumber(NaN)
413
417
Stability: 0 - Deprecated
414
418
415
419
Returns ` true ` if the given "object" is strictly an ` Object ` __ and__ not a
416
- ` Function ` . ` false ` otherwise .
420
+ ` Function ` . Otherwise, returns ` false ` .
417
421
418
422
``` js
419
423
const util = require (' util' );
@@ -432,7 +436,8 @@ util.isObject(function(){})
432
436
433
437
Stability: 0 - Deprecated
434
438
435
- Returns ` true ` if the given "object" is a primitive type. ` false ` otherwise.
439
+ Returns ` true ` if the given "object" is a primitive type. Otherwise, returns
440
+ ` false ` .
436
441
437
442
``` js
438
443
const util = require (' util' );
@@ -461,7 +466,7 @@ util.isPrimitive(new Date())
461
466
462
467
Stability: 0 - Deprecated
463
468
464
- Returns ` true ` if the given "object" is a ` RegExp ` . ` false ` otherwise .
469
+ Returns ` true ` if the given "object" is a ` RegExp ` . Otherwise, returns ` false ` .
465
470
466
471
``` js
467
472
const util = require (' util' );
@@ -478,7 +483,7 @@ util.isRegExp({})
478
483
479
484
Stability: 0 - Deprecated
480
485
481
- Returns ` true ` if the given "object" is a ` String ` . ` false ` otherwise .
486
+ Returns ` true ` if the given "object" is a ` String ` . Otherwise, returns ` false ` .
482
487
483
488
``` js
484
489
const util = require (' util' );
@@ -497,7 +502,7 @@ util.isString(5)
497
502
498
503
Stability: 0 - Deprecated
499
504
500
- Returns ` true ` if the given "object" is a ` Symbol ` . ` false ` otherwise .
505
+ Returns ` true ` if the given "object" is a ` Symbol ` . Otherwise, returns ` false ` .
501
506
502
507
``` js
503
508
const util = require (' util' );
@@ -514,7 +519,7 @@ util.isSymbol(Symbol('foo'))
514
519
515
520
Stability: 0 - Deprecated
516
521
517
- Returns ` true ` if the given "object" is ` undefined ` . ` false ` otherwise .
522
+ Returns ` true ` if the given "object" is ` undefined ` . Otherwise, returns ` false ` .
518
523
519
524
``` js
520
525
const util = require (' util' );
0 commit comments