Skip to main content

isHandlersKeyValue

Stentor API Reference


Stentor API Reference / stentor-handler-factory/src / isHandlersKeyValue

Function: isHandlersKeyValue()

isHandlersKeyValue(props): props is HandlersKeyValue

Defined in: packages/stentor-handler-factory/src/Guards.ts:47

Guard to determine if any of the possible HandlerFactory prop values are a key value object of Handlers

Parameters​

props​

DelegatingHandlersMap | HandlersArray | HandlersKeyValue

Returns​

props is HandlersKeyValue