Home > @whatsaaaa/types > isMessage
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;
Parameter | Type | Description |
---|---|---|
arg | any | value to check |
Returns:
arg is IMessage