Documentation / @agentick/shared / markAsSemanticComponent
Function: markAsSemanticComponent() ​
markAsSemanticComponent<
T>(fn):T
Defined in: identity.ts:96
Mark a function as a semantic component.
Type Parameters ​
T ​
T extends Function
Parameters ​
fn ​
T
The function to mark
Returns ​
T
The same function marked as a semantic component