User:ArceusInator/Template:Function
From Legacy Roblox Wiki
Jump to navigationJump to search
[[{{{name}}} (Method)|{{{name}}}]]( {{{arguments}}} ) | |
Returns | {{{returns}}} |
Description: | {{{description}}} |
Type: |
Example Usage
The following properties are valid:
property : Value = Default name : String description : String arguments : String returns : String = nil protected : Boolean = false type : Type = roblox Here's a list of inputs the "type" property can accept: core coroutine math string table roblox Anything else will be treated as if it were roblox.
Here's what LoadLibrary may be written as:
{{User:ArceusInator/Template:Function |name = LoadLibrary |arguments = [[String]] ''libraryName'' |returns = [[Userdata]] |description = Returns a library, 'libraryName' if it exists. Else, it returns nil and an error message for use with the assert function.}}
this would result in:
LoadLibrary( String libraryName ) | |
Returns | Userdata |
Description: | Returns a library, 'libraryName' if it exists. Else, it returns nil and an error message for use with the assert function. |
Type: |