diff --git a/docs/array/cluster.mdx b/docs/array/cluster.mdx index 92ebc8b9..19f64237 100644 --- a/docs/array/cluster.mdx +++ b/docs/array/cluster.mdx @@ -13,12 +13,13 @@ split as evenly as possible. ```ts import { cluster } from 'radash' -const gods = ['Ra', 'Zeus', 'Loki', 'Vishnu', 'Icarus', 'Osiris', 'Thor'] +const gods = ['Ra', 'Zeus', 'Loki', 'Vishnu', 'Icarus', 'Osiris', 'Thor', 'Apollo', 'Artemis', 'Athena'] cluster(gods, 3) // => [ // [ 'Ra', 'Zeus', 'Loki' ], // [ 'Vishnu', 'Icarus', 'Osiris' ], -// [ 'Thor' ] +// ['Thor', 'Apollo', 'Artemis'], +// ['Athena'] // ] ```