AIDK API Reference / aidk-shared / isHostPrimitive
Function: isHostPrimitive() ​
ts
function isHostPrimitive(value: unknown): boolean;Defined in: packages/shared/src/identity.ts:86
Check if a value is a host primitive component. Minification-safe - uses symbol identity, not function name.
Parameters ​
| Parameter | Type | Description |
|---|---|---|
value | unknown | The value to check |
Returns ​
boolean
True if it's a host primitive