![]() Gets the occurrence count of element in t. int getoccurrencesof(table t, Variant element) The make_copy argument determines if a reversed shallow copy should be made. So the first element is the last, the second element is the second-to-last, and so on. The make_copy argument determines if a shuffled shallow copy should be returned instead. Print(shallow_copy = t, deep_copy = t) -> false false Returns a shallow copy of t, and the deep argument determines if copy should make a deep copy of the given table. Returns a boolean that determines if n is even. This function will throw an exception if n is negative or if it is non-integral. ![]() Print(math.isnan(math.sqrt(-1))) -> trueĮxample usage: print(math.round(5.4)) -> 5įloat roundtoplace(float n, int place = 1)Įxample usage: print(math.roundtoplace(1.5678654, 3)) -> 1.568 Use this if you want to test a divisor before dividing or something, or before getting the square root of a negative number.Įxample usage: print(math.isnan(0/0)) -> true Returns a boolean that determines whether arg is NaN. Returns the area of a triangle with base base and height height. ![]() That will import the extensions for table, math and string. It can be called with multiple arguments, so import("table", "math", "string") This module returns a function that imports an import function that lets you import desired libraries. I recommend in the first line requiring it. ![]() Expect updates every 1-2 weeks, whether it be removing a redundant function, extending a new library, or adding new functions to already-supporting libraries. Libraries+ is a library extension module that adds functions that roblox/Lua does not provide us. ![]() This module is deprecated, use the new one: Libraries++ ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |