TestLinkRuleType<C extends Cell> typedef

TestLinkRuleType<C extends Cell> = bool Function(Cell link, {C? cell, dynamic user})

Function signature for validating links between cells.

Parameters:

  • link: The cell being linked
  • cell: The host cell (optional)
  • user: Optional user context

Returns true if the link is allowed, false otherwise

Implementation

typedef TestLinkRuleType<C extends Cell> = bool Function(Cell link, {C? cell, dynamic user});