Skip to main content
InspectOptions.getters - node__util.d.ts - Node documentation
property InspectOptions.getters

Usage in Deno

```typescript import { type InspectOptions } from "node:node__util.d.ts"; ```
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