{"version":3,"file":"array.mjs","names":[],"sources":["../../../../../../../components-base/src/lib/array.ts"],"sourcesContent":["/** One value or many, as many. */\nexport const toArray = <T>(value: T | T[]): T[] =>\n  Array.isArray(value) ? value : [value];\n\n/** The element type of an array, or the type itself when it is not one. */\nexport type ItemType<T> = T extends (infer TItem)[] ? TItem : T;\n"],"mappings":";;;;AACA,IAAa,WAAc,UACzB,MAAM,QAAQ,KAAK,IAAI,QAAQ,CAAC,KAAK"}