UNPKG

@atlaskit/select

Version:

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

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