Skip to content

monad.ai


monad.ai / matchesMeshSelector

Function: matchesMeshSelector()

matchesMeshSelector(entry, selectorRaw): boolean

Defined in: kernel/meshSelect.ts:52

Tests whether a monad entry satisfies a selector constraint.

The selector uses the same DNF grammar as self mapping: device:macbook|host:edge;tag:primary. Empty selectors always match.

Parameters

entry

MonadIndexEntry

selectorRaw

string | null

Returns

boolean