Inspectable.ts overview
Since v2.0.0
Exports Grouped by Category
models
Inspectable (interface)
Signature
export interface Inspectable {
toString(): string
toJSON(): unknown
[NodeInspectSymbol](): unknown
}
Since v2.0.0
redactable
Redactable (interface)
Signature
export interface Redactable {
readonly [symbolRedactable]: (fiberRefs: FiberRefs.FiberRefs) => unknown
}
Since v3.10.0
isRedactable
Signature
declare const isRedactable: (u: unknown) => u is Redactable
Since v3.10.0
redact
Signature
declare const redact: (u: unknown) => unknown
Since v3.10.0
symbolRedactable
Signature
declare const symbolRedactable: unique symbol
Since v3.10.0
withRedactableContext
Signature
declare const withRedactableContext: <A>(context: FiberRefs.FiberRefs, f: () => A) => A
Since v3.10.0
symbols
NodeInspectSymbol
Signature
declare const NodeInspectSymbol: unique symbol
Since v2.0.0
NodeInspectSymbol (type alias)
Signature
type NodeInspectSymbol = typeof NodeInspectSymbol
Since v2.0.0
utils
BaseProto
Signature
declare const BaseProto: Inspectable
Since v2.0.0
Class (class)
Signature
declare class Class
Since v2.0.0
toJSON (method)
Signature
declare const toJSON: () => unknown
Since v2.0.0
[NodeInspectSymbol] (method)
Signature
declare const [NodeInspectSymbol]: () => unknown
Since v2.0.0
toString (method)
Signature
declare const toString: () => string
Since v2.0.0
format
Signature
declare const format: (x: unknown) => string
Since v2.0.0
stringifyCircular
Signature
declare const stringifyCircular: (obj: unknown, whitespace?: number | string | undefined) => string
Since v2.0.0
toJSON
Signature
declare const toJSON: (x: unknown) => unknown
Since v2.0.0
toStringUnknown
Signature
declare const toStringUnknown: (u: unknown, whitespace?: number | string | undefined) => string
Since v2.0.0