xdash / takeRight
Function: takeRight()
takeRight<
T>(arr,size):T[]
Returns the last n elements of an array
Type parameters
• T
Parameters
• arr: T[]
• size: number
Returns
T[]
xdash / takeRight
takeRight<
T>(arr,size):T[]
Returns the last n elements of an array
• T
• arr: T[]
• size: number
T[]