Skip to content

PURISTA API


PURISTA API / @purista/core / isCommandResponse

Function: isCommandResponse()

isCommandResponse(message): message is CommandResponse

Defined in: packages/core/src/core/types/commandType/isCommandResponse.impl.ts:12

Checks if given message is type of CommandResponse (success or error)

Parameters

message

EBMessage

Returns

message is CommandResponse

boolean