@dndbuilder.com/react
Version:
Drag and drop builder for React
11 lines (10 loc) • 953 B
JavaScript
const i = (n) => typeof n == "object" && n !== null && "type" in n && "settings" in n, t = (n) => typeof n == "object" && n !== null && "id" in n && "parentId" in n && "index" in n, o = (n) => typeof n == "object" && n !== null && n !== void 0 && "value" in n && "unit" in n, s = (n) => typeof n == "object" && n !== null && ("top" in n || "right" in n || "bottom" in n || "left" in n || "unit" in n || "linked" in n), e = (n) => typeof n == "object" && n !== null && ("mobile" in n || "mobile-landscape" in n || "tablet" in n || "tablet-landscape" in n || "laptop" in n || "desktop" in n || "widescreen" in n), p = (n) => typeof n == "object" && n !== null && ("default" in n || "hover" in n || "focus" in n || "active" in n || "visited" in n || "disabled" in n);
export {
i as isDropableBlock,
t as isMoveableBlock,
e as isResponsiveValue,
s as isSpacingValue,
o as isUnitValue,
p as isWithPseudoClass
};
//# sourceMappingURL=guard.js.map