print(
value
,options?
,printer?
):string
Formats any JavaScript value into a human-readable string.
Parameters
Section titled “Parameters”unknown
The value to format and print.
options?
Section titled “options?”PrintOptions
Optional configuration for depth, indentation, colors, and quotes.
printer?
Section titled “printer?”A custom Printer implementation; falls back to defaultPrinter if not provided.
Returns
Section titled “Returns”string
A formatted string representation of the input value.