code: function setFn(obj: any, path: any, fn: any) {
    if (typeof fn === 'function') {
      _.set(obj, path, fn);
    }
  }
docs: Sets a function at a specific path if its actually a function
  @param {*} obj
  @param {*} path
  @param {*} fn