InspectOptionsStylized

@native @JSType trait InspectOptionsStylized extends StObject with InspectOptions
Companion
object
trait StObject
class Object
trait Any
class Object
trait Matchable
class Any

Value members

Concrete methods

def stylize(text: String, styleType: Style): String

Inherited methods

def hasOwnProperty(v: String): Boolean
Inherited from
Object
def isPrototypeOf(v: Object): Boolean
Inherited from
Object
def propertyIsEnumerable(v: String): Boolean
Inherited from
Object
def toLocaleString(): String
Inherited from
Object
def valueOf(): Any
Inherited from
Object

Inherited fields

var breakLength: UndefOr[Double]
Inherited from
InspectOptions
var colors: UndefOr[Boolean]
Inherited from
InspectOptions
var compact: UndefOr[Boolean | Double]

Setting this to false causes each object key to be displayed on a new line. It will also add new lines to text that is longer than breakLength. If set to a number, the most n inner elements are united on a single line as long as all properties fit into breakLength. Short array elements are also grouped together. Note that no text will be reduced below 16 characters, no matter the breakLength size. For more information, see the example below.

Setting this to false causes each object key to be displayed on a new line. It will also add new lines to text that is longer than breakLength. If set to a number, the most n inner elements are united on a single line as long as all properties fit into breakLength. Short array elements are also grouped together. Note that no text will be reduced below 16 characters, no matter the breakLength size. For more information, see the example below.

Inherited from
InspectOptions
var customInspect: UndefOr[Boolean]
Inherited from
InspectOptions
var depth: UndefOr[Double | Null]
Inherited from
InspectOptions
var getters: UndefOr[get | set | Boolean]

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.

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.

Inherited from
InspectOptions
var maxArrayLength: UndefOr[Double | Null]
Inherited from
InspectOptions
var maxStringLength: UndefOr[Double | Null]

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.

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.

Inherited from
InspectOptions
var showHidden: UndefOr[Boolean]
Inherited from
InspectOptions
var showProxy: UndefOr[Boolean]
Inherited from
InspectOptions
var sorted: UndefOr[Boolean | Function2[String, String, Double]]
Inherited from
InspectOptions