Skip to content

inspect

inspect: <A>(options?) => (a) => A

Defined in: Composition/tap.ts:202

Performs a deep structured inspect formatting on the piped value, returning it unchanged. In Node.js environments, this utilizes Node’s node:util inspect utility.

A

InspectOptions

(a) => A

pipe(
  { user: { name: "Alice", details: { age: 30 } } },
  tap.inspect({ label: "User Object", depth: 2 })
);