"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.hasSymbols = () => typeof Symbol === "function";
exports.hasSymbol = (name) => exports.hasSymbols() && Boolean(Symbol[name]);
exports.getSymbol = (name) => exports.hasSymbol(name) ? Symbol[name] : "@@" + name;
function registerObservableSymbol() {
    if (exports.hasSymbols() && !exports.hasSymbol("observable")) {
        Symbol.observable = Symbol("observable");
    }
}
exports.registerObservableSymbol = registerObservableSymbol;
if (!exports.hasSymbol("asyncIterator")) {
    Symbol.asyncIterator = Symbol.asyncIterator || Symbol.for("Symbol.asyncIterator");
}
