Array.prototype.shared >= 0.1.0
Purpose
Get the shared value between the 2 arrays
Syntax
Array#shared
(
Arrayarr
Functioncast_function
);
Parameters
arr
- The array to test against
cast_function
- Function to use to cast values to compare them
Return values
Array
New array
Comments