SonarJS linter helper functions
    Preparing search index...

    Function areEquivalent

    • Equivalence is implemented by comparing node types and their tokens. Classic implementation would recursively compare children, but "estree" doesn't provide access to children when node type is unknown

      Parameters

      Returns boolean