collect_ints_inclusive
fn collect_ints_inclusive(RangeInclusive<int> r) -> Vec<int> Import
Source: use collections::{collect_ints_inclusive}; src/collections.hy Returns the values of the inclusive range a..=b as a Vec<int>.
Parameters#
| Name | Type |
|---|---|
r | RangeInclusive<int> |
Returns#
Vec<int>
See also#
Vecsort: Returns a sorted copy ofarr, in ascending order.sort_by: Returns a copy ofarrsorted by the valuekeygives each element, in ascending order.reverse: Returns a copy ofarrin reverse order.collect_ints: Returns the values of the rangea..bas aVec<int>.