Permalink
Browse files

docs: use the static versions of isNull()

  • Loading branch information...
1 parent 65e88ea commit 4ca278edabd87aa9b668b220adf437af9ac03b3a @TooTallNate committed Jul 12, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/ref.js
View
@@ -54,10 +54,10 @@ exports = module.exports = require('bindings')('binding')
* NULL pointer, _false_ otherwise.
*
* ```
- * console.log(new Buffer(1).isNull());
+ * console.log(ref.isNull(new Buffer(1)));
* false
*
- * console.log(ref.NULL.isNull());
+ * console.log(ref.isNull(ref.NULL));
* true
* ```
*

0 comments on commit 4ca278e

Please sign in to comment.