/*---------------------------------------------------------------------------------------------
 * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
 * See LICENSE.md in the project root for license terms and full copyright notice.
 *--------------------------------------------------------------------------------------------*/
/** @packageDocumentation
 * @module Base
 */
/** @internal */
export function isTabDropTargetState(state) {
    return state.type === "tab";
}
/** @internal */
export function isPanelDropTargetState(state) {
    return state.type === "panel";
}
/** @internal */
export function isSectionDropTargetState(state) {
    return state.type === "section";
}
/** @internal */
export function isWidgetDropTargetState(state) {
    return state.type === "widget";
}
/** @internal */
export function isWindowDropTargetState(state) {
    return state.type === "window";
}
/** @internal */
export function isWidgetDragDropTargetState(state) {
    if (state.type === "floatingWidget")
        return false;
    return true;
}
/** @internal */
export function isTabDragDropTargetState(state) {
    if (state.type === "window")
        return false;
    return true;
}
//# sourceMappingURL=DropTargetState.js.map