mirror of
https://github.com/chaijs/chai
synced 2024-11-15 00:07:11 +00:00
added headline for inspect util
This commit is contained in:
parent
a64eb62344
commit
1a47ff1a5f
1 changed files with 3 additions and 1 deletions
|
@ -9,12 +9,14 @@ var config = require('../config');
|
|||
module.exports = inspect;
|
||||
|
||||
/**
|
||||
* ### .inspect(obj, [showHidden], [depth], [colors])
|
||||
*
|
||||
* Echoes the value of a value. Tries to print the value out
|
||||
* in the best way possible given the different types.
|
||||
*
|
||||
* @param {Object} obj The object to print out.
|
||||
* @param {Boolean} showHidden Flag that shows hidden (not enumerable)
|
||||
* properties of objects.
|
||||
* properties of objects. Default is false.
|
||||
* @param {Number} depth Depth in which to descend in object. Default is 2.
|
||||
* @param {Boolean} colors Flag to turn on ANSI escape codes to color the
|
||||
* output. Default is false (no coloring).
|
||||
|
|
Loading…
Reference in a new issue