ts-monorepo

Home > @whatsaaaa/types > isMessage

isMessage() function

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Check whether a given value is an IMessage

Signature:

export declare function isMessage(arg: any): arg is IMessage;

Parameters

Parameter Type Description
arg any value to check

Returns:

arg is IMessage