UNPKG

ttabs-svelte

Version:

A flexible layout management system with draggable, resizable tiles and tabs for Svelte applications. Like in VSCode

16 lines (15 loc) 745 B
import type { TileState } from '../types/tile-types'; /** * Compare two tile objects for equality based on their properties * @param a First tile to compare * @param b Second tile to compare * @returns True if tiles have the same properties, false otherwise */ export declare function areTilesEqual(a: TileState | null | undefined, b: TileState | null | undefined): boolean; /** * Compare two arrays of tiles for equality * @param a First array of tiles to compare * @param b Second array of tiles to compare * @returns True if arrays contain tiles with the same properties in the same order, false otherwise */ export declare function areTileArraysEqual(a: TileState[] | null | undefined, b: TileState[] | null | undefined): boolean;