Ripple | Function
Extends core to register functions. For cases when a function resource is registered as a string (e.g. from WS, localStorage), this converts it into a real function before storing.
If you coerce a string to be registered as a function, it will attempt to turn it into a real function first:
typeof // 'function'