not_one

gtravyl.not_one(value: Any)

Checks if a value is not 1. You can think of 1 as though there is a wall and you are not allowed to traverse there. Any other value is fine. (This is the default function for the keyword argument allowed of shortest_path.

Parameters:

value – Value to check.