# isExcluded

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

@shumoku/core · 0.4.0 · function

# isExcluded

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

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

True when the node should NOT be auto-touched by the scheduler or by any source's discovery pass — convenience predicate that hides the mode comparison from callers that just need a yes/no answer.

```
isExcluded(policy: EffectiveDiscoveryPolicy): boolean
```

## パラメーター

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

## 戻り値

```
boolean
```

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