API Reference > ui-components > Common > hasFlag hasFlag FunctionConst 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 39 Last Updated: 13 June, 2024