mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2024-12-29 00:09:41 +00:00
Docs fixes for comparisons.scad
This commit is contained in:
parent
e40dddf058
commit
3b3ad8eaea
1 changed files with 3 additions and 3 deletions
|
@ -897,10 +897,10 @@ function group_sort(list, idx) =
|
|||
// Description:
|
||||
// Given a list of integer group numbers, and an equal-length list of values,
|
||||
// returns a list of groups with the values sorted into the corresponding groups.
|
||||
// Ie: if you have a groups index list of [2,3,2] and values of ["A","B","C"], then
|
||||
// the values "A" and "C" will be put in group 2, and "B" will be in group 3.
|
||||
// Ie: if you have a groups index list of `[2,3,2]` and values of `["A","B","C"]`, then
|
||||
// the values `"A"` and `"C"` will be put in group 2, and `"B"` will be in group 3.
|
||||
// Groups that have no values grouped into them will be an empty list. So the
|
||||
// above would return [[], [], ["A","C"], ["B"]]
|
||||
// above would return `[[], [], ["A","C"], ["B"]]`
|
||||
// Arguments:
|
||||
// groups = A list of integer group index numbers.
|
||||
// values = A list of values to sort into groups.
|
||||
|
|
Loading…
Reference in a new issue