User contributions
Jump to navigation
Jump to search
- 15:43, 18 March 2020 diff hist +340 N Tan Created page with "<c>tan</c> returns the tangent of the given angle (in radians). === Arguments === {| class="wikitable" |- ! Parameter Name !! Default Value !! Meaning |- | ''radians'' || nu..." current
- 15:41, 18 March 2020 diff hist 0 Sort
- 16:26, 17 March 2020 diff hist +369 N Sum Created page with "<c>sum</c> returns the total of all elements in a list, or all values in a map. === Arguments === {| class="wikitable" |- ! Parameter Name !! Default Value !! Meaning |- | '..." current
- 16:24, 17 March 2020 diff hist +354 N Shuffle Created page with "<c>shuffle</c> randomize the order of elements in a list, or the mappings from keys to values in a map. This is done in place. === Arguments === {| class="wikitable" |- ! P..."
- 16:23, 17 March 2020 diff hist +684 N String type Created page with "<c>string type</c> returns a map that represents the string datatype in MiniScript's core type system. See also: number, list, map, funcRef === Arguments ===..."
- 16:21, 17 March 2020 diff hist +364 N Str Created page with "<c>str</c> coverts any value to a string === Arguments === {| class="wikitable" |- ! Parameter Name !! Default Value !! Meaning |- | ''x'' || any || value to convert |} ==..." current
- 16:20, 17 March 2020 diff hist +313 N Sqrt Created page with "<c>sqrt</c> returns the square root of a number. === Arguments === {| class="wikitable" |- ! Parameter Name !! Default Value !! Meaning |- | ''x'' || number || number to get..."
- 16:18, 17 March 2020 diff hist +666 N Split Created page with "<c>split</c> splits a string into a list, by some delimiter. See also: join === Arguments === {| class="wikitable" |- ! Parameter Name !! Default Value !! Meaning |- |..."
- 16:15, 17 March 2020 diff hist +725 N Sort Created page with "<c>sort</c> Sorts a list in place. With null or no argument, this sorts the list elements by their own values. See also: shuffle === Arguments === {| class="wikitabl..."
- 16:12, 17 March 2020 diff hist +817 N Slice Created page with "<c>slice</c> returns a subset of a string or list. This is equivalent to using the square-brackets slice operator seq[from:to], but with ordinary function syntax. === Argume..."
- 16:08, 17 March 2020 diff hist -1 Sin current
- 16:08, 17 March 2020 diff hist +336 N Sin Created page with "<c>sin</c> returns the sine of the given angle (in radians). === Arguments === {| class="wikitable" |- ! Parameter Name !! Default Value !! Meaning |- | ''radians'' || numbe..."
- 16:06, 17 March 2020 diff hist -1 Sign current
- 16:06, 17 March 2020 diff hist +344 N Sign Created page with "<c>sign</c> returns -1 for negative numbers, 1 for positive numbers, and 0 for zero. === Arguments === {| class="wikitable" |- ! Parameter Name !! Default Value !! Meaning..."
- 16:04, 17 March 2020 diff hist +594 N Rnd Created page with "<c>rnd</c> Generates a pseudorandom number between 0 and 1 (including 0 but not including 1). === Arguments === {| class="wikitable" |- ! Parameter Name !! Default Value !!..."
- 16:03, 17 March 2020 diff hist +1 Round →Example
- 16:02, 17 March 2020 diff hist +602 N Round Created page with "<c>round</c> rounds a number to the specified number of decimal places. === Arguments === {| class="wikitable" |- ! Parameter Name !! Default Value !! Meaning |- | ''x'' ||..."
- 16:01, 17 March 2020 diff hist +3 Replace
- 16:00, 17 March 2020 diff hist +1,140 N Replace Created page with "<c>replace</c> Replace all matching elements of a list or map, or substrings of a string, with a new value. === Arguments === {| class="wikitable" |- ! Parameter Name !! De..."
- 15:54, 17 March 2020 diff hist +967 N Remove Created page with "<c>remove</c> removes part of a list, map, or string. See also: indexOf === Arguments === {| class="wikitable" |- ! Parameter Name !! Default Value !! Meaning |- | ''se..."