docs: function getOrSetProp(obj, prop, value) {
      if (!isObject(obj)) return;
      if (!(0, _is.isString)(prop)) return;
  
      var props = prop.split('.');
  
      if (props.length === 1) {
          if (arguments.length === 2) {
              return obj[props[0]];
          } else {
              return obj[props[0]] = value;
          }
      }
  
      var target = obj[props[0]];
  
      for (var i = 1; i < props.length - 1; i++) {
          target = target[props[i]];
      }
  
      if (arguments.length === 2) {
          return target[(0, _array.lastOneOf)(props)];
      } else {
          return target[(0, _array.lastOneOf)(props)] = value;
      }
  }