-
Notifications
You must be signed in to change notification settings - Fork 0
Quick Reference
Jay Shah edited this page Aug 14, 2015
·
24 revisions
Below is the quick reference for all function this library has.
arr.unique() // Get unique elements from one dimensional array
arr.has_duplicates() // Returns True/False if array has duplicate element
arr.has_duplicates_assoc('phone') // Returns True/False if associative array has duplicate element based on key provided
arr.duplicates() // Returns object containing duplicate elements with their occurrences
arr.duplicates_assoc('phone') // Returns object same as above but for associative array