hasIndex method

bool hasIndex(
  1. dynamic index
)

Implementation

bool hasIndex(var index) => indexOrNull(index) != null;