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

Function isUnencryptedServerMessage

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

    Type Parameters

    • T extends "communication_ready"

    Parameters

    • arg: any

      The argument to check

    • command: T

      The command / type of the message to check against.

    Returns arg is UnencryptedServerMessages[T]

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

Settings

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

Generated using TypeDoc