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

Usage in Deno

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

If set to true, getters are going to be inspected as well. If set to 'get' only getters without setter are going to be inspected. If set to 'set' only getters having a corresponding setter are going to be inspected. This might cause side effects depending on the getter function.

Type

"get"
| "set"
| boolean
| undefined
Back to top