menu
flodash package
documentation
modules/array/take.dart
take function
take function
dark_mode
light_mode
take
function
List
take
(
List
list
, {
int
n
=
1
,
})
Implementation
List take(List list, {int n = 1}) { try { return list.sublist(0, n); } catch (e) { return []; } }
flodash package
documentation
modules/array/take
take function
take library