source/node/entryFacade.js
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}`);
    }
}
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}`);
    }
}
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 ( ` ${ property } ` ) ; } }
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
Set a value on an entry