Skip to content

Commit

Permalink
Document Histogram.hasValues
Browse files Browse the repository at this point in the history
  • Loading branch information
mantoni committed Dec 18, 2015
1 parent d33b677 commit 880ac7a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Readme.md
Expand Up @@ -137,7 +137,7 @@ http.createServer(function(req, res) {

**Methods:**

* `mark(n)` Register `n` events as having just occured. Defaults to `1.
* `mark(n)` Register `n` events as having just occured. Defaults to `1`.
* `reset()` Resets all values. Meters initialized with custom options will
be reset to the default settings (patch welcome).
* `unref()` Unrefs the backing timer. The meter will not keep the event loop
Expand Down Expand Up @@ -176,6 +176,7 @@ http.createServer(function(req, res) {

* `update(value, timestamp)` Pushes `value` into the sample. `timestamp`
defaults to `Date.now()`.
* `hasValues()` Whether the histogram contains values.
* `reset()` Resets all values. Histograms initialized with custom options will
be reset to the default settings (patch welcome).

Expand Down

0 comments on commit 880ac7a

Please sign in to comment.