source/node/tools/entry.js
function getEntryValue(entry, property, name) {
    switch (property) {
        case "property":
            return entry.getProperty(name);
        case "meta":
            return entry.getMeta(name);
        case "attribute":
            return entry.getAttribute(name);
        default:
            throw new Error(`Cannot retrieve value: Unknown property type: ${property}`);
    }
}
function getEntryValue(entry, property, name) {
    switch (property) {
        case "property":
            return entry.getProperty(name);
        case "meta":
            return entry.getMeta(name);
        case "attribute":
            return entry.getAttribute(name);
        default:
            throw new Error(`Cannot retrieve value: Unknown property type: ${property}`);
    }
}
function getEntryValue ( entry , property , name ) { switch ( property ) { case "property" : return entry . getProperty ( name ) ; case "meta" : return entry . getMeta ( name ) ; case "attribute" : return entry . getAttribute ( name ) ; default : throw new Error ( ` ${ property } ` ) ; } }
Get a value on an entry for a specific property type
@param {Entry} entry The entry instance
@param {String} property The type of entry property (property/meta/attribute)
@param {String} name The property name
@returns {String} The property value
@throws {Error} Throws for unknown property types
@deprecated Not in use - To be removed
Get a value on an entry for a specific property type