"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const lodash_1 = require("../wrap/lodash");
exports.default = (original, names) => {
    if (lodash_1.default.isString(names))
        return [names];
    if (names != null)
        return names;
    if (lodash_1.default.isFunction(original) && original.name) {
        return [original.name];
    }
    else {
        return [];
    }
};
