'use strict';

const getMatch = (value, search) => {
    if (!search?.length)
        return true;
    return value.toLowerCase().includes(search.toLowerCase());
};
const getValue = (value, children) => String(value ?? typeof children === "string" ? children : "") ?? "";

exports.getMatch = getMatch;
exports.getValue = getValue;
//# sourceMappingURL=utils.cjs.map
