Jump to content

Module:Scribunto/types/documentation

Wiktionary වෙතින්

A lookup table of the available data types in Lua 5.1.

There are ten types listed in ltm.c, which have all been included for the sake of completeness:

  • "boolean", "function", "nil", "number", "string" and "table" are common types widely encountered in Scribunto code.
  • "thread" is exclusively used by the coroutine library, which is not currently enabled in Scribunto, though that may change in the future.
  • "userdata" is used to represent arbitrary non-Lua data, and is unlikely to appear in Scribunto.
  • "proto" and "upval" are undocumented types used for internal testing in Lua's development.
"https://si.wiktionary.org/w/index.php?title=Module:Scribunto/types/documentation&oldid=217972" වෙතින් සම්ප්‍රවේශනය කෙරිණි