Skip to content

Instantly share code, notes, and snippets.

View nunofilipecosta's full-sized avatar
👨‍💻
coding

Nuno Costa nunofilipecosta

👨‍💻
coding
View GitHub Profile
@hyle
hyle / ko.utils.signatures.js
Last active May 14, 2022 21:15
KnockoutJS utils (ko.utils) signatures
// knockout 2.2.1
ko.utils.arrayFilter = function (array, predicate) { /* .. */ }
ko.utils.arrayFirst = function (array, predicate, predicateOwner) { /* .. */ }
ko.utils.arrayForEach = function (array, action) { /* .. */ }
ko.utils.arrayGetDistinctValues = function (array) { /* .. */ }