Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

List.Shuffle

Shuffles the items in the list.

Component Version macOS Windows Linux Server iOS SDK
List 14.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "List.Shuffle"; List )   More

Parameters

Parameter Description Example
List The list to use "Hello¶World"

Result

Returns list or error.

Description

Shuffles the items in the list.
We use random number generator to swap items randomly and return a new list.

Examples

Shuffle a list of values:

MBS( "List.Shuffle"; "a¶b¶c¶d¶e¶f" )

Example result:
a
c
d
e
b
f

See also

Release notes

Blog Entries

This function checks for a license.

Created 8th November 2023, last changed 8th November 2023


List.SetValue - List.Sort