• Preparing search index...
  • The search index is not available
@refinio/one.models
  • @refinio/one.models
  • misc/ConnectionEstablishment/protocols/CommunicationInitiationProtocolMessages
  • isPeerMessage

Function isPeerMessage

  • isPeerMessage<T>(arg, command): arg is EncryptedPeerMessages[T]
  • Check whether the argument is a peer message of specified type / command.

    Type Parameters

    • T extends keyof EncryptedPeerMessages

    Parameters

    • arg: any

      The argument to check

    • command: T

      The command / type of the message to check against.

    Returns arg is EncryptedPeerMessages[T]

    • Defined in misc/ConnectionEstablishment/protocols/CommunicationInitiationProtocolMessages.ts:247

Settings

Member Visibility
@refinio/one.models
  • Loading...

Generated using TypeDoc