@dxos/echo
    Preparing search index...

    Variable tryParseConst

    tryParse: (uri: string) => EID.EID | undefined

    Like parse but returns undefined on failure instead of throwing.

    Validates rather than catching parse, because rejection is the common case on the query path — every type filter tests each candidate's typename as an EID first — and the Error that used to allocate, with its stack, dominated it.

    Type declaration

      • (uri: string): EID.EID | undefined
      • Parameters

        • uri: string

        Returns EID.EID | undefined