Skip to content

marklife


marklife / core/src / isCpclEngine

Function: isCpclEngine()

isCpclEngine(engine): engine is CpclEngine

Type guard — true when the engine binds to the CPCL protocol.

Accepts any { protocol } so it can refine entries straight from DEVICES[…].engines.

Parameters

engine

protocol

string

Returns

engine is CpclEngine