Skip to content
1 min read · 69 words

Function: implementsSkillSource()

ts
function implementsSkillSource(value: unknown): value is SkillSource;

Defined in: src/batteries/skills/contracts.ts:93

Duck-guard for the synchronous portion of a source contract. discover() returns an async iterable and cannot be duck-checked beyond "is a function", so a value passing this guard may still violate the protocol. runSkillSourceConformance, from @nhtio/adk/batteries/skills/conformance, is the real protocol check.

Parameters

ParameterType
valueunknown

Returns

value is SkillSource