Skip to content

marklife


marklife / core/src / isYxqEngine

Function: isYxqEngine() ​

isYxqEngine(engine): engine is YxqEngine

Type guard — true when the engine binds to the YXQ-stream protocol.

Accepts any PrintEngine so it can be used to refine entries straight from DEVICES[…].engines.

Parameters ​

engine ​

protocol ​

string

Returns ​

engine is YxqEngine