takeWhile method

Map<K, V> takeWhile(
  1. bool predicate(
    1. V item
    )
)

Implementation

Map<K, V> takeWhile(bool Function(V item) predicate) {
	return this.entries.takeWhile((MapEntry<K, V> kvp) => predicate(kvp.value)).asMap2();
}