ts-utils
    Preparing search index...

    Type Alias GoalPredicate

    GoalPredicate: (coord: Coord) => boolean

    The type of function used to tell whether the goal node has been reached or not.

    Type declaration

      • (coord: Coord): boolean
      • Parameters

        • coord: Coord

          The coord of the node being evaluated.

        Returns boolean