Server IP : 162.213.251.212 / Your IP : 3.17.162.17 [ Web Server : LiteSpeed System : Linux business55.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : allssztx ( 535) PHP Version : 8.1.31 Disable Function : NONE Domains : 1 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/allssztx/www/easybuyer/node_modules/collect.js/docs/ |
Upload File : |
# 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](https://laravel.com/docs/master/collections). [See differences](#strictness-and-comparisons). ### Methods that have not been implemented: - ~~`containsStrict`~~ use [`contains()`](/api/contains.html) - ~~`duplicatesStrict`~~ use [`duplicates()`](/api/duplicates.html) - ~~`uniqueStrict`~~ use [`unique()`](/api/unique.html) - ~~`whereStrict`~~ use [`where()`](/api/where.html) - ~~`whereInStrict`~~ use [`whereIn()`](/api/whereIn.html) - ~~`whereNotInStrict`~~ use [`whereNotIn()`](/api/whereNotIn.html)