diff --git a/source/Ox/js/Function.js b/source/Ox/js/Function.js index 789c0946..ce1e2ed6 100644 --- a/source/Ox/js/Function.js +++ b/source/Ox/js/Function.js @@ -53,6 +53,10 @@ Ox.cache = function(fn, options) { return ret; }; +Ox.identity = function(val) { + return val; +}; + /*@ Ox.void Returns nothing and calls options callback without arguments This can be useful to combine a synchronous and an asynchronous code path.