UNPKG

@atlaskit/select

Version:

Select allows users to make a single selection or multiple selections from a list of options.

4 lines 203 B
// Helper function which identifies if options are grouped. export const isOptionsGrouped = arr => { return arr === null || arr === void 0 ? void 0 : arr.every(obj => obj.hasOwnProperty('options')); };