Function: isPresenter()
ts
function isPresenter(value): value is Presenter<unknown>;Defined in: packages/core/src/presenter/Presenter.ts:76
Check if a value is a Presenter instance.
Used by the execution pipeline to detect Presenters declared via the returns field in action configuration.
Parameters
| Parameter | Type | Description |
|---|---|---|
value | unknown | Any value |
Returns
value is Presenter<unknown>
true if the value is a Presenter