Skip to content

isXmtpFrameActionPayload

Returns true if the given frame action payload is an XMTP frame action payload.

Usage

 
import { isXmtpFrameActionPayload } from 'frames.js/xmtp';
 
...
 
if (isXmtpFrameActionPayload(payload)) {
  // payload is an XMTP frame action payload
}