summaryrefslogtreecommitdiff
path: root/doc/api/util.markdown
diff options
context:
space:
mode:
authorjpersson <jonathan.persson@creuna.se>2015-11-27 18:30:32 -0500
committerJames M Snell <jasnell@gmail.com>2015-12-03 13:39:09 -0800
commit14b3aab7d289a568e4a9efa6cd07a6ced370e318 (patch)
tree0d3c405d8b174d5e27c20632130c530204922013 /doc/api/util.markdown
parentc79b145abcd9b05b95103299ba613fb20b489340 (diff)
downloadnode-new-14b3aab7d289a568e4a9efa6cd07a6ced370e318.tar.gz
doc: add links and backticks around names
* add backticks around names * add single quotes around event names * add parenthesis after function names * add internal links between different sections * add external links to MDN for some JavaScript references * sort the link definitions alphabetically PR-URL: https://github.com/nodejs/node/pull/4054 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Roman Reiss <me@silverwind.io>
Diffstat (limited to 'doc/api/util.markdown')
-rw-r--r--doc/api/util.markdown6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/api/util.markdown b/doc/api/util.markdown
index eb1090dfc1..27913b809d 100644
--- a/doc/api/util.markdown
+++ b/doc/api/util.markdown
@@ -233,7 +233,7 @@ formatted according to the returned Object. This is similar to how
Stability: 0 - Deprecated
-Internal alias for Array.isArray.
+Internal alias for [`Array.isArray`][].
Returns `true` if the given "object" is an `Array`. `false` otherwise.
@@ -297,7 +297,7 @@ Returns `true` if the given "object" is a `Date`. `false` otherwise.
Stability: 0 - Deprecated
-Returns `true` if the given "object" is an `Error`. `false` otherwise.
+Returns `true` if the given "object" is an [`Error`][]. `false` otherwise.
var util = require('util');
@@ -499,4 +499,6 @@ Deprecated predecessor of `console.log`.
Deprecated predecessor of `console.log`.
+[`Array.isArray`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/isArray
[constructor]: https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object/constructor
+[`Error`]: errors.html#errors_class_error