/** * @name isScrollable * @namespace js.is * @type Function * @platform js * @status stable * * Check if the passed element is scrollable or not * * @return {Boolean} true if is scrollable, false if not * * @snippet __isScrollable($1) * * @todo tests * * @example js * import { __isScrollable } from '@lotsof/sugar/dom' * if (__isScrollable($myElement)) { * // do something * } * * @since 1.0.0 * @author Olivier Bossel (https://lotsof.dev) */ export type TIsScrollableSettings = { x: boolean; y: boolean; }; export default function __isScrollable($elm: HTMLElement, settings?: Partial): boolean;