"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const isAnimationControls = require("./dist-es-animation-utils-is-animation-controls.cjs");
const isVariantLabel = require("./dist-es-render-utils-is-variant-label.cjs");
const variantProps = require("./dist-es-render-utils-variant-props.cjs");
function isControllingVariants(props) {
  return isAnimationControls.isAnimationControls(props.animate) || variantProps.variantProps.some((name) => isVariantLabel.isVariantLabel(props[name]));
}
function isVariantNode(props) {
  return Boolean(isControllingVariants(props) || props.variants);
}
exports.isControllingVariants = isControllingVariants;
exports.isVariantNode = isVariantNode;
//# sourceMappingURL=dist-es-render-utils-is-controlling-variants.cjs.map
