Skip to content

Documentation / @etherfold/browser / isPortPush

Function: isPortPush() ​

isPortPush(value): value is PortPush<PortPushName>

Defined in: packages/browser/src/host/envelope.ts:899

Ours and a push.

It carries no id, so it is recognised by its own push NAME instead: a message with neither a correlation id nor a push name is not something this port sent.

Parameters ​

value ​

unknown

Returns ​

value is PortPush<PortPushName>