mysa-js-sdk
    Preparing search index...

    Function isMsgOutPayload

    • Type guard function to determine if an OutPayload is a message-based payload.

      Checks whether the payload uses the newer msg field format for message type identification. This is used to differentiate between different payload structures and ensure proper type narrowing in TypeScript.

      Parameters

      Returns payload is MsgOutPayload

      True if the payload is a MsgOutPayload, false otherwise