pamoja for TypeScript - v0.1.17
    Preparing search index...

    Variable keyexprConst

    keyexpr: {
        canonize: (key: string) => string | null;
        isCanon: (key: string) => boolean;
        isValid: (key: string) => boolean;
        matches: (pattern: string, key: string) => boolean;
    } = ...

    The rules a Zenoh key expression obeys.

    Type Declaration

    • Readonlycanonize: (key: string) => string | null

      Rewrites a key expression into its canonical form, or null if it is malformed.

      Two expressions that select the same data have one canonical form, so canonizing before comparing or routing avoids treating a/**/**/b and a/**/b as different.

    • ReadonlyisCanon: (key: string) => boolean

      Reports whether a key expression is already in its canonical form.

    • ReadonlyisValid: (key: string) => boolean

      Reports whether a key expression is well formed.

    • Readonlymatches: (pattern: string, key: string) => boolean

      Reports whether a pattern selects a key.