Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
chain-able-lego / dist / getAtSymbol.js
Size: Mime:
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
// aka invoke
function getAtSymbol(symbolToGet, value) {
    let atSymbol = value[symbolToGet];
    // @NOTE not sure if we really need this
    if (typeof atSymbol === 'function') {
        atSymbol = atSymbol();
    }
    if (typeof atSymbol === 'string') {
        return atSymbol;
    }
    return undefined;
}
exports.getAtSymbol = getAtSymbol;
exports.default = getAtSymbol;
//# sourceMappingURL=getAtSymbol.js.map