LuauService
Up and coming: shot check knows this class and its members today, and programs run it once the native runtime lands.
Up and coming
Write any value as Luau source, sorted and escaped, so generated data modules diff cleanly.
use LuauService gives it, and Format never waits. Keys come out sorted, identifier keys bare (Name = ...) and others in brackets, strings escaped, arrays as {a, b}, and Vector2, Vector3, Color3 and UDim2 as their .new calls. A cycle or a function is an error.
A service: write use LuauService.
Methods
| Name | Arguments | Returns | Description |
|---|---|---|---|
| Format | (value: any, options: { Indent: string?, Width: number? }?) | string | The value as a Luau literal with keys sorted and strings escaped; a cycle or a function is an error. |
From ShotInstance 33
ClassNameNameParentAncestryChangedAttributeChangedChangedChildAddedChildRemovedDestroyingAddTagClearAllChildrenCloneDestroyFindFirstAncestorFindFirstAncestorOfClassFindFirstAncestorWhichIsAFindFirstChildFindFirstChildOfClassFindFirstChildWhichIsAGetAttributeGetAttributeChangedSignalGetAttributesGetChildrenGetDescendantsGetFullNameGetPropertyChangedSignalGetTagsHasTagIsAIsAncestorOfIsDescendantOfRemoveTagSetAttribute
