Skip to main content

isSlotType

Stentor API Reference


Stentor API Reference / stentor-interaction-model/src / isSlotType

Function: isSlotType()

isSlotType(type): type is SlotType<string | number | boolean | object>

Defined in: packages/stentor-interaction-model/src/Guards.ts:16

Type guard to check if the provided type is the deprecated SlotType

Parameters​

type​

SlotType<string | number | boolean | object> | Entity

Returns​

type is SlotType<string | number | boolean | object>