@mikuroxina/mini-fn
    Preparing search index...

    Function canReach

    • Determines whether there is a path from start to goal on the graph.

      Parameters

      • start: Vertex

        An index of starting vertex.

      Returns (goal: Vertex) => (graph: Graph.Graph) => boolean

      Whether there is a path.