import type { Message } from "../message/Message" ; export interface INodeQuery { nodeId : number ; } /** Tests if the given message is for a node or references a node */ export function isNodeQuery < T extends Message > ( msg ) { return typeof ( msg as any ) . nodeId === "number" ; }