@dxos/echo
    Preparing search index...

    Variable tryMakeConst

    tryMake: (dxn: string) => DXN.DXN | undefined

    Parses a full DXN string. Returns undefined on failure.

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

    Type declaration

      • (dxn: string): DXN.DXN | undefined
      • Parameters

        • dxn: string

        Returns DXN.DXN | undefined