//#region ../../node_modules/.pnpm/@stryke+convert@0.6.38/node_modules/@stryke/convert/dist/to-array.mjs
/**
* Convert `Arrayable<T>` to `Array<T>`
*
* @param array - The `Arrayable<T>` to convert
* @returns An `Array<T>` containing the elements of the input
*/
function toArray(array) {
	array = array ?? [];
	return Array.isArray(array) ? array : [array];
}

//#endregion
export { toArray };
//# sourceMappingURL=to-array.mjs.map