You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
989 B
989 B
API
Strictness and comparisons
All comparisons in collect.js
are done using strict equality. Using loose equality comparisons are generally frowned upon in JavaScript. Laravel only performs "loose" comparisons by default and offer several "strict" comparison methods. These methods have not been implemented in collect.js
because all methods are strict by default.
Tip
Using Laravel as your backend? Collect.js offers an (almost) identical api to Laravel Collections. See differences.
Methods that have not been implemented:
usecontainsStrict
contains()
useduplicatesStrict
duplicates()
useuniqueStrict
unique()
usewhereStrict
where()
usewhereInStrict
whereIn()
usewhereNotInStrict
whereNotIn()