| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -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'); | |
@@ -355,7 +356,8 @@ util.isError(obj); | |||
| 355 | 356 | ||
| 356 | 357 | Stability: 0 - Deprecated | |
| 357 | 358 | ||
| 358 | - Returns `true` if the given "object" is a `Function`. `false` otherwise. | ||
| 359 | + Returns `true` if the given "object" is a `Function`. Otherwise, returns | ||
| 360 | + `false`. | ||
| 359 | 361 | ||
| 360 | 362 | ```js | |
| 361 | 363 | const util = require('util'); | |
@@ -375,7 +377,8 @@ util.isFunction(Bar) | |||
| 375 | 377 | ||
| 376 | 378 | Stability: 0 - Deprecated | |
| 377 | 379 | ||
| 378 | - Returns `true` if the given "object" is strictly `null`. `false` otherwise. | ||
| 380 | + Returns `true` if the given "object" is strictly `null`. Otherwise, returns | ||
| 381 | + `false`. | ||
| 379 | 382 | ||
| 380 | 383 | ```js | |
| 381 | 384 | const util = require('util'); | |
@@ -392,7 +395,8 @@ util.isNull(null) | |||
| 392 | 395 | ||
| 393 | 396 | Stability: 0 - Deprecated | |
| 394 | 397 | ||
| 395 | - Returns `true` if the given "object" is `null` or `undefined`. `false` otherwise. | ||
| 398 | + Returns `true` if the given "object" is `null` or `undefined`. Otherwise, | ||
| 399 | + returns `false`. | ||
| 396 | 400 | ||
| 397 | 401 | ```js | |
| 398 | 402 | const util = require('util'); | |
@@ -409,7 +413,7 @@ util.isNullOrUndefined(null) | |||
| 409 | 413 | ||
| 410 | 414 | Stability: 0 - Deprecated | |
| 411 | 415 | ||
| 412 | - Returns `true` if the given "object" is a `Number`. `false` otherwise. | ||
| 416 | + Returns `true` if the given "object" is a `Number`. Otherwise, returns `false`. | ||
| 413 | 417 | ||
| 414 | 418 | ```js | |
| 415 | 419 | const util = require('util'); | |
@@ -429,7 +433,7 @@ util.isNumber(NaN) | |||
| 429 | 433 | Stability: 0 - Deprecated | |
| 430 | 434 | ||
| 431 | 435 | Returns `true` if the given "object" is strictly an `Object` __and__ not a | |
| 432 | - `Function`. `false` otherwise. | ||
| 436 | + `Function`. Otherwise, returns `false`. | ||
| 433 | 437 | ||
| 434 | 438 | ```js | |
| 435 | 439 | const util = require('util'); | |
@@ -448,7 +452,8 @@ util.isObject(function(){}) | |||
| 448 | 452 | ||
| 449 | 453 | Stability: 0 - Deprecated | |
| 450 | 454 | ||
| 451 | - Returns `true` if the given "object" is a primitive type. `false` otherwise. | ||
| 455 | + Returns `true` if the given "object" is a primitive type. Otherwise, returns | ||
| 456 | + `false`. | ||
| 452 | 457 | ||
| 453 | 458 | ```js | |
| 454 | 459 | const util = require('util'); | |
@@ -477,7 +482,7 @@ util.isPrimitive(new Date()) | |||
| 477 | 482 | ||
| 478 | 483 | Stability: 0 - Deprecated | |
| 479 | 484 | ||
| 480 | - Returns `true` if the given "object" is a `RegExp`. `false` otherwise. | ||
| 485 | + Returns `true` if the given "object" is a `RegExp`. Otherwise, returns `false`. | ||
| 481 | 486 | ||
| 482 | 487 | ```js | |
| 483 | 488 | const util = require('util'); | |
@@ -494,7 +499,7 @@ util.isRegExp({}) | |||
| 494 | 499 | ||
| 495 | 500 | Stability: 0 - Deprecated | |
| 496 | 501 | ||
| 497 | - Returns `true` if the given "object" is a `String`. `false` otherwise. | ||
| 502 | + Returns `true` if the given "object" is a `String`. Otherwise, returns `false`. | ||
| 498 | 503 | ||
| 499 | 504 | ```js | |
| 500 | 505 | const util = require('util'); | |
@@ -513,7 +518,7 @@ util.isString(5) | |||
| 513 | 518 | ||
| 514 | 519 | Stability: 0 - Deprecated | |
| 515 | 520 | ||
| 516 | - Returns `true` if the given "object" is a `Symbol`. `false` otherwise. | ||
| 521 | + Returns `true` if the given "object" is a `Symbol`. Otherwise, returns `false`. | ||
| 517 | 522 | ||
| 518 | 523 | ```js | |
| 519 | 524 | const util = require('util'); | |
@@ -530,7 +535,7 @@ util.isSymbol(Symbol('foo')) | |||
| 530 | 535 | ||
| 531 | 536 | Stability: 0 - Deprecated | |
| 532 | 537 | ||
| 533 | - Returns `true` if the given "object" is `undefined`. `false` otherwise. | ||
| 538 | + Returns `true` if the given "object" is `undefined`. Otherwise, returns `false`. | ||
| 534 | 539 | ||
| 535 | 540 | ```js | |
| 536 | 541 | const util = require('util'); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments