Skip to the page
Sections
Quirrel
4.53.0
userdata
Search the reference
Introduction
Coming from Python
Coming from JavaScript
Coming from Lua
Coming from Squirrel
Language
Lexical structure
Bindings and constants
Values and types
Functions
Operators and expressions
Control flow
Tables and arrays
Strings
Classes and instances
Metamethods
Destructuring
Generators and threads
async and await
Modules
Type annotations
Errors and exceptions
Compiler directives
Guides
Cheat sheet
Function attributes
Performance
Implementation limits
RFCs
Base library
globals
types
Standard library
math
deep
string
io
iostream
system
datetime
debug
async
modules
Types
string
array
table
integer
float
bool
function
generator
thread
class
instance
weakref
userdata
null
Embedding
The stack
Compiling and calling
Native functions
Tables, arrays and userdata
Holding references from C
The async runtime
Sqrat bindings
C API
VM, memory and watchdog
Compiler and static analysis
Stack operations
Creating objects
Manipulating objects
Raw object handling
Calls and errors
Debug interface
Standard library
Async runtime
userdata
Methods on every userdata.
Functions
clone
clone
():
any
Always throws.
is_frozen
nodiscard
is_frozen
():
any
Reports whether this userdata was frozen with
freeze()
.