# absenceImpliesRetraction

Canonical: https://docs.shumoku.dev/ja/library/api/absenceImpliesRetraction
Language: ja

@shumoku/core · 0.4.0 · function

# absenceImpliesRetraction

[ソース](https://github.com/konoe-akitoshi/shumoku/blob/main/libs/@shumoku/core/src/observation/discovery-policy.ts#L175)

APIの説明は英語のcanonical sourceを表示しています。

True when absence in a snapshot should be treated as evidence (retract / mark stale). False when the snapshot 's absence is meaningless because the node was deliberately not asked. This is the \*critical\* anti-footgun call codex flagged: if we post-filter excluded nodes out of a NetBox snapshot whose status is \`ok\` (= absence trusted), the resolver would happily interpret the missing entry as "NetBox says it 's gone". We never want that.

```
absenceImpliesRetraction(policy: EffectiveDiscoveryPolicy): boolean
```

## パラメーター

| 名前 | 型 | 説明 | 既定値 |
| --- | --- | --- | --- |
| `policy` | `EffectiveDiscoveryPolicy` | 追加説明はありません。 | `—` |

## 戻り値

```
boolean
```

[`libs/@shumoku/core/src/observation/discovery-policy.ts:175`](https://github.com/konoe-akitoshi/shumoku/blob/main/libs/@shumoku/core/src/observation/discovery-policy.ts#L175)
