Class

io.scalajs.nodejs.util

InspectOptions

Related Doc: package util

Permalink

class InspectOptions extends Object

Inspect Options

Annotations
@RawJSType() @ScalaJSDefined()
See also

https://nodejs.org/api/util.html#util_util_inspect_object_options

Linear Supertypes
Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. InspectOptions
  2. Object
  3. Any
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new InspectOptions(showHidden: UndefOr[Boolean] = js.undefined, depth: UndefOr[Int] = js.undefined, colors: UndefOr[Boolean] = js.undefined, customInspect: UndefOr[Boolean] = js.undefined, showProxy: UndefOr[Boolean] = js.undefined, maxArrayLength: UndefOr[Int] = js.undefined, breakLength: UndefOr[Int] = js.undefined)

    Permalink

    showHidden

    If true, the object's non-enumerable symbols and properties will be included in the formatted result. Defaults to false.

    depth

    Specifies the number of times to recurse while formatting the object. This is useful for inspecting large complicated objects. Defaults to 2. To make it recurse indefinitely pass null.

    colors

    If true, the output will be styled with ANSI color codes. Defaults to false. Colors are customizable, see Customizing util.inspect colors.

    customInspect

    If false, then custom inspect(depth, opts) functions exported on the object being inspected will not be called. Defaults to true.

    showProxy

    If true, then objects and functions that are Proxy objects will be introspected to show their target and handler objects. Defaults to false.

    maxArrayLength

    Specifies the maximum number of array and TypedArray elements to include when formatting. Defaults to 100. Set to null to show all array elements. Set to 0 or negative to show no array elements.

    breakLength

    The length at which an object's keys are split across multiple lines. Set to Infinity to format an object as a single line. Defaults to 60 for legacy compatibility.

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. var breakLength: UndefOr[Int]

    Permalink

    The length at which an object's keys are split across multiple lines.

    The length at which an object's keys are split across multiple lines. Set to Infinity to format an object as a single line. Defaults to 60 for legacy compatibility.

  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. var colors: UndefOr[Boolean]

    Permalink

    If true, the output will be styled with ANSI color codes.

    If true, the output will be styled with ANSI color codes. Defaults to false. Colors are customizable, see Customizing util.inspect colors.

  8. var customInspect: UndefOr[Boolean]

    Permalink

    If false, then custom inspect(depth, opts) functions exported on the object being inspected will not be called.

    If false, then custom inspect(depth, opts) functions exported on the object being inspected will not be called. Defaults to true.

  9. var depth: UndefOr[Int]

    Permalink

    Specifies the number of times to recurse while formatting the object.

    Specifies the number of times to recurse while formatting the object. This is useful for inspecting large complicated objects. Defaults to 2. To make it recurse indefinitely pass null.

  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def hasOwnProperty(v: String): Boolean

    Permalink
    Definition Classes
    Object
  15. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. def isPrototypeOf(v: Object): Boolean

    Permalink
    Definition Classes
    Object
  18. var maxArrayLength: UndefOr[Int]

    Permalink

    Specifies the maximum number of array and TypedArray elements to include when formatting.

    Specifies the maximum number of array and TypedArray elements to include when formatting. Defaults to 100. Set to null to show all array elements. Set to 0 or negative to show no array elements.

  19. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. def propertyIsEnumerable(v: String): Boolean

    Permalink
    Definition Classes
    Object
  23. var showHidden: UndefOr[Boolean]

    Permalink

    If true, the object's non-enumerable symbols and properties will be included in the formatted result.

    If true, the object's non-enumerable symbols and properties will be included in the formatted result. Defaults to false.

  24. var showProxy: UndefOr[Boolean]

    Permalink

    If true, then objects and functions that are Proxy objects will be introspected to show their target and handler objects.

    If true, then objects and functions that are Proxy objects will be introspected to show their target and handler objects. Defaults to false.

  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  26. def toLocaleString(): String

    Permalink
    Definition Classes
    Object
  27. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  28. def valueOf(): Any

    Permalink
    Definition Classes
    Object
  29. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped