@mantine/core
Version:
React components library focused on usability, accessibility and developer experience
10 lines (9 loc) • 477 B
JavaScript
"use client";
//#region packages/@mantine/core/src/components/AppShell/AppShellMediaStyles/is-primitive-size/is-primitive-size.ts
function isPrimitiveSize(size) {
const isBaseSize = typeof size === "object" && size !== null && typeof size.base !== "undefined" && Object.keys(size).length === 1;
return typeof size === "number" || typeof size === "string" || isBaseSize;
}
//#endregion
exports.isPrimitiveSize = isPrimitiveSize;
//# sourceMappingURL=is-primitive-size.cjs.map