Inspects a given value and returns a string representation of it.
The function uses ANSI color codes to highlight different parts of the output.
It can handle and correctly output different types of values including primitives, functions, arrays, and objects.
Inspects a given value and returns a string representation of it. The function uses ANSI color codes to highlight different parts of the output. It can handle and correctly output different types of values including primitives, functions, arrays, and objects.