Record: Node

Represents a structure to keep data and references to the adjacent nodes of the linked list.

Closed record

Fields

  • value any
  • Value to be stored in the linked list node

  • prev Node?(default ())
  • Previous node of the linked list

  • next Node?(default ())
  • Next node of the linked list