Skip to main content
InspectOptions.maxArrayLength - util - Node documentation
property InspectOptions.maxArrayLength

Usage in Deno

import { type InspectOptions } from "node:util";

Specifies the maximum number of Array, TypedArray, WeakMap, and WeakSet elements to include when formatting. Set to null or Infinity to show all elements. Set to 0 or negative to show no elements.

Type

number
| null
| undefined