CrxOop provides utility functions to help in developing with it. These utility functions are not to be confused with general utility functions that can be replaced wih similar functions from other libraries. These functions perform tasks in relation to CrxOop.
// To create a replacement roughly equivilant to the built in
// bind function when it is not available, one could use:
Function.prototype.bind = function(pThis)
pThis, false, true, -1,
crxOop.var() takes a single parameter, and if the parameter is not a function, returns it. If it is a function, it returns the function such as its 'this' is set to null. Internaly, crxOop.var() uses crxOop.bindFunction(), and will only bind the function if has not been bound to null before using crxOop.var() or crxOop.bindFunction(). If crxOop.var() binds the function, it does it by making the call crxOop.bindFunction(passedInParameter, null, false, true, -1, null).