{
    "Function": "getAdjacent",
    "File": "src/contracts/libraries/StructuredLinkedList.sol",
    "Parent Contracts": [],
    "High-Level Calls": [],
    "Internal Calls": [
        "nodeExists"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function getAdjacent(List storage self, uint256 _node, bool _direction) internal view returns (bool, uint256) {\n        if (!nodeExists(self, _node)) {\n            return (false, 0);\n        } else {\n            uint256 adjacent = self.list[_node][_direction];\n            return (adjacent != _HEAD, adjacent);\n        }\n    }"
}