Skip to content

AIDK API Reference / aidk-shared / isSemanticComponent

Function: isSemanticComponent() ​

ts
function isSemanticComponent(value: unknown): boolean;

Defined in: packages/shared/src/identity.ts:106

Check if a value is a semantic component.

Parameters ​

ParameterTypeDescription
valueunknownThe value to check

Returns ​

boolean

True if it's a semantic component

Released under the MIT License.