IInspectOptions
Index
Properties
optionalbreakLength
optionalcolors
optionalcompact
optionalcustomInspect
optionaldepth
optionalgetters
If set to true, getters are going to be
inspected as well. If set to 'get' only getters without setter are going
to be inspected. If set to 'set' only getters having a corresponding
setter are going to be inspected. This might cause side effects depending on
the getter function.
optionalmaxArrayLength
optionalmaxStringLength
Specifies the maximum number of characters to
include when formatting. Set to null or Infinity to show all elements.
Set to 0 or negative to show no characters.
Setting this to
falsecauses each object key to be displayed on a new line. It will also add new lines to text that is longer thanbreakLength. If set to a number, the mostninner elements are united on a single line as long as all properties fit intobreakLength. Short array elements are also grouped together. Note that no text will be reduced below 16 characters, no matter thebreakLengthsize. For more information, see the example below.