hasTemplatePath method

bool hasTemplatePath(
  1. TreeReference ref
)

Whether some template or instance path matches ref.

Implementation

bool hasTemplatePath(TreeReference ref) =>
    ref.isAbsolute && _hasTemplatePath(ref, base, 0);