Skip to content
Astra
ProductDocumentationDownloadPricingCommunity
Sign inGet Astra

Explore Astra

Explore Astra

HomeProductPricingDocumentationDownloadRelease notesSystem status
Sign inDiscord
Roblox
IntroductionQuick start
Keys & licensingYour workspaceTroubleshooting
API reference
Closures
Debug
Environment
Metatables
Scheduler
Instances
Cache
Scripts
Signals
Filesystem
Input
Console
Cryptography
JSON
Regex
System
Scene files
Drawing
UI library
Renderer
Requests
Network
API reference

Closures

Create, inspect, clone and hook Luau functions.

Available functions

checkcallerChecks whether the current call comes from the executor.clonefunctionClones a Luau closure.getfunctionhashComputes a function's bytecode fingerprint.hookfunctionReplaces a function's behavior.hookmetamethodReplaces a metatable field.iscclosureChecks whether a function is a C closure.isexecutorclosureChecks whether a function belongs to the executor.isfunctionhookedChecks whether a function has an active hook.islclosureChecks whether a function is a Luau closure.isnewcclosureRecognizes wrappers created by newcclosure.loadstringCompiles Luau source without running it.newcclosureWraps a function in a C closure.newlclosureWraps a function in a Luau closure.restorefunctionRemoves an active function hook.
PreviousAPI referenceGuidesNextcheckcallerClosures

On this page

Available functions
Astra

A complete Luau workspace.
Your editor, scripts, and accounts in one place.

Get Astra

WindowsmacOSFree keyPricingRedeemDashboard

Product

EditorScript HubAccountsFeaturesComparison

Community

DiscordSystem statusSupport

Learn

DocumentationRelease notes

Developers

API referenceLuau LSPBenchmarks

Legal

TermsPrivacyCookiesRefund policy
System statusSupportTermsPrivacyCookies

© 2026 Astra. All rights reserved.