Usage

import 'ds_collection/ds_collection.dart';

main() {
  final items = [0, 1, 2];

  print(items.top(2)); // 0, 1
}

Libraries

ds_collection