isEntity
Stentor API Reference / stentor-interaction-model/src / isEntity
Function: isEntity()
isEntity(
type):type is Entity
Defined in: packages/stentor-interaction-model/src/Guards.ts:8
Type guard to check if the provided type is an Entity
Parameters​
type​
SlotType\<string | number | boolean | object> | Entity
Returns​
type is Entity