ArrayDrop<T> extension

on

Methods

drop(int count) List

Available on List<T>, provided by the ArrayDrop extension

drop Creates a slice of array with n elements dropped from the beginning. @param array the list to compare against @param n the number of elements to drop @returns the values in the list that are not in the other
dropRight([int n = 1]) List

Available on List<T>, provided by the ArrayDrop extension

dropRight Creates a slice of array with n elements dropped from the end. @param array the list to compare against @param n the number of elements to drop
dropWhile(Function predicate) List

Available on List<T>, provided by the ArrayDrop extension

dropRightWhileCreates a slice of array excluding elements dropped from the beginning. @param array the list to compare against @param predicate the function to determine equality