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

Usage in Deno

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

Specifies the maximum number of characters to include when formatting. Set to null or Infinity to show all elements. Set to 0 or negative to show no characters.

Type

number
| null
| undefined