API Reference > ui-components > Common > hasFlag hasFlag Function Deprecated Use hasSelectionModeFlag instead Determines if a SelectionMode is active hasFlag(selectionMode: SelectionMode, flag: SelectionModeFlags): boolean Parameter Type Description selectionMode SelectionMode flag SelectionModeFlags Returns - boolean Defined in ui/components/src/ui-components/common/selection/SelectionModes.ts Line 48 Last Updated: 12 June, 2024