"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isDropAfter = void 0;
exports.isPaletteData = isPaletteData;
exports.isCardData = isCardData;
exports.isSectionDropData = isSectionDropData;
function isPaletteData(data) {
    return data !== null && data !== undefined && data.kind === 'palette';
}
function isCardData(data) {
    return data !== null && data !== undefined && data.kind === 'card';
}
function isSectionDropData(data) {
    return data !== null && data !== undefined && data.kind === 'section-drop';
}
const isDropAfter = (pointerY, targetCenterY) => pointerY !== undefined && targetCenterY !== undefined && pointerY > targetCenterY;
exports.isDropAfter = isDropAfter;
//# sourceMappingURL=dragData.js.map
