"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isTextLike = isTextLike;
exports.isText = isText;
const isContentEditable_1 = require("./isContentEditable");
function isTextLike(leaf_comp) {
    return isText(leaf_comp.$element);
}
function isText(element) {
    const is_text = element instanceof Text || (0, isContentEditable_1.isContentEditable)(element);
    return is_text;
}
//# sourceMappingURL=isText.js.map