• Preparing search index...
  • The search index is not available
@refinio/one.models
  • @refinio/one.models
  • misc/ConnectionEstablishment/communicationServer/CommunicationServerProtocol
  • isServerMessage

Function isServerMessage

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

    Type Parameters

    • T extends keyof ServerMessages

    Parameters

    • arg: any

      The argument to check

    • command: T

      The command / type of the message to check against.

    Returns arg is ServerMessages[T]

    • Defined in misc/ConnectionEstablishment/communicationServer/CommunicationServerProtocol.ts:134

Settings

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

Generated using TypeDoc