hasLink method Null safety

bool hasLink(
  1. dynamic a,
  2. dynamic b,
  3. {List anyTags,
  4. List allTags}

Determine if there is an link between 2 nodes, No matter what direction

(Optional) Only if it matches any of anyTags and matches all items in allTags


bool hasLink(a, b, {List anyTags, List allTags});