Inspectable
Models
Inspectable interface
Added in v2.0.0
Source
Signature
interface Inspectable { [NodeInspectSymbol](): unknown; toJSON(): unknown; toString(): string;}Other
Signature
declare const BaseProto: Inspectable;Signature
declare class Class { constructor(); [NodeInspectSymbol](): unknown; abstract toJSON(): unknown; toString(): string;}Signature
declare function format(x: unknown): string;stringifyCircular
Added in v2.0.0
Source
Signature
declare function stringifyCircular(obj: unknown, whitespace?: string | number): string;Signature
declare function toJSON(x: unknown): unknown;toStringUnknown
Added in v2.0.0
Source
Signature
declare function toStringUnknown(u: unknown, whitespace: string | number | undefined): string;Redactable
isRedactable
Added in v3.10.0
Source
Signature
declare function isRedactable(u: unknown): u is Redactable;Signature
declare function redact(u: unknown): unknown;Redactable interface
Added in v3.10.0
Source
Signature
interface Redactable { readonly [symbolRedactable]: (fiberRefs: FiberRefs) => unknown;}symbolRedactable
Added in v3.10.0
Source
Signature
declare const symbolRedactable: unique symbol;withRedactableContext
Added in v3.10.0
Source
Signature
declare function withRedactableContext<A>(context: FiberRefs, f: () => A): A;Symbols
NodeInspectSymbol
Added in v2.0.0
Source
Signature
declare const NodeInspectSymbol: typeof NodeInspectSymbol;NodeInspectSymbol type
Added in v2.0.0
Source
Signature
type NodeInspectSymbol = typeof NodeInspectSymbol;