tail property

Cons? tail

The tail of the cons, if applicable.

Implementation

Cons? get tail {
  if (cdr is Cons) {
    return cdr;
  } else if (cdr == null) {
    return null;
  } else {
    throw StateError('${toString()} does not have a tail.');
  }
}