-
Notifications
You must be signed in to change notification settings - Fork 0
Last
Malexion edited this page Oct 31, 2016
·
1 revision
-
obj
Item to iterate over. -
[options]
[Optional] Object to modify what this function returns,{ keys: false, limit: 1 }
is the default.
var last = __.last([ 3, 6, 1, 0, 34, 296, 19 ]);
console.log(last);
var lastfive = __.last([ 3, 6, 1, 0, 34, 296, 19 ], { limit: 5 });
console.log(lastfive);
- Home
- String Prototype Functions
- Replace All
- Replace While
- Format
- Contains
- Whiteout
- Capitalize
- First Word
- Truncate
- Base Functions
- All
- Class
- Contains
- Count
- Debounce
- Deep All
- Distinct
- Enum
- First
- Filter
- Fuse
- Get Type
- Group
- Index
- Intersect
- Last
- Map
- Match
- Move
- Options
- Get Property
- Rank
- Remove
- Remove At
- Scope
- Search
- Sort
- Switch
- Throttle
- Formats
- Pad Left
- Pad Right
- Type Detection
- Defined
- Set
- Same Type
- Function
- Object
- Array
- Arguments
- Boolean
- String
- Number
- Date
- Null
- Undefined
- NaN
- Math
- Random 16-bit
- Round To
- Round Down To
- Round Up To
- Median
- Sum
- Average
- Max
- Min
- Between
- Percentage
- Generators
- Guid
- Password
- Classes
- Overwrite
- Updatable