Shumoku Docs

Search documentation

Shared docs and current release

Loading search…

日本語

@shumoku/core · 0.4.0 · function

hasNativeApi

Source

Duck-type check: does this plugin expose a native-API passthrough? Intentionally not bound to a `DataSourceCapability` literal — this is a developer-only escape hatch, not a product feature, so it stays off the advertised capability list.

hasNativeApi(plugin: DataSourcePlugin): predicate

Parameters

Parameter Type Description Default
plugin DataSourcePlugin No additional description.

Returns

predicate

libs/@shumoku/core/src/plugin-types.ts:660