iya-sts
    Preparing search index...
    kindAt: (path: string, node?: any) => string = ...

    Type Declaration

      • (path: string, node?: any): string
      • Names the kind of node at a path, such as 'rule', 'target', 'match' or 'expression', derived from the path.

        Without the node, a document root or a policy set's child is answered as 'policy'; passing the node makes 'policySet' and 'reference' exact.

        Parameters

        • path: string

          the dotted path

        • Optionalnode: any

          the node at the path, where the caller has it

        Returns string

        the kind, 'unknown' when the path names nothing the editor knows