code: function setEntryValue(entry, property, name, value) {
      switch (property) {
          case "property":
              return entry.setProperty(name, value);
          case "attribute":
              return entry.setAttribute(name, value);
          default:
              throw new Error(`Cannot set value: Unknown property type: ${property}`);
      }
  }
docs: Set a value on an entry
  @param {Entry} entry The entry instance
  @param {String} property Type of property ("property"/"meta"/"attribute")
  @param {String} name The property name
  @param {String} value The value to set
  @throws {Error} Throws if the property type is not recognised