Skip to main content

MethodData


Arguments

The arguments that the method takes. It is an array whose values are of the type MethodParameter. It is read-only, it cannot be assigned to.


Description

A description of the method. It is of the type string. It may also be nil. It is read-only, it cannot be assigned to.


Name

The name of the method. It is of the type string. It is read-only, it cannot be assigned to.


Results

It is an array whose values are of the type MethodParameter. It is read-only, it cannot be assigned to.

Luau Type

This is the luau type for MethodData. It may help clear up mistranslations from the raw data to the wiki page (as it is an automatic process).

export type MethodData = {
read Name: string,
read Arguments: { MethodParameter },
read Description: string?,
read Results: { MethodParameter },
}