MCPcopy Create free account
hub / github.com/Effect-TS/effect / dir

Function dir

packages/effect/src/Console.ts:332–337  ·  view source on GitHub ↗
(item: any, options?: any)

Source from the content-addressed store, hash-verified

330 * @since 2.0.0
331 */
332export const dir = (item: any, options?: any): Effect.Effect<void> =>
333 consoleWith((console) =>
334 effect.sync(() => {
335 console.dir(item, options)
336 })
337 )
338
339/**
340 * Displays an interactive tree of descendant XML or HTML elements, which is particularly useful for inspecting DOM elements in browser environments.

Callers

nothing calls this directly

Calls 3

consoleWithFunction · 0.85
dirMethod · 0.80
syncMethod · 0.45

Tested by

no test coverage detected