Packages

c

io.scalajs.nodejs.util

InspectOptions

class InspectOptions extends Object

Inspect Options

Annotations
@ScalaJSDefined() @RawJSType()
See also

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

Linear Supertypes
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. Protected

Instance Constructors

  1. new InspectOptions(showHidden: UndefOr[Boolean] = false, depth: Int = 2, colors: Boolean = false, customInspect: Boolean = true, showProxy: Boolean = false, maxArrayLength: UndefOr[Int] = 100, breakLength: Int = 80, compact: UndefOr[|[Boolean, Int]] = 3, sorted: UndefOr[|[Boolean, Function2[String, String, Int]]] = js.undefined, getters: UndefOr[|[Boolean, String]] = false)

    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.

    compact

    For Node.js v9.9.0+

    sorted

    For Node.js v10.12.0+

    getters

    For Node.js v11.5.0+

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. var breakLength: Int
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  7. var colors: Boolean
  8. var compact: UndefOr[|[Boolean, Int]]
  9. var customInspect: Boolean
  10. var depth: Int
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. var getters: UndefOr[|[Boolean, String]]
  15. def hasOwnProperty(v: String): Boolean
    Definition Classes
    Object
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  19. var maxArrayLength: UndefOr[Int]
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  23. def propertyIsEnumerable(v: String): Boolean
    Definition Classes
    Object
  24. var showHidden: UndefOr[Boolean]
  25. var showProxy: Boolean
  26. var sorted: UndefOr[|[Boolean, Function2[String, String, Int]]]
  27. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  28. def toLocaleString(): String
    Definition Classes
    Object
  29. def toString(): String
    Definition Classes
    AnyRef → Any
  30. def valueOf(): Any
    Definition Classes
    Object
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped