9 lines
734 B
Lua
9 lines
734 B
Lua
---@diagnostic disable: missing-return, lowercase-global
|
|
---@meta
|
|
|
|
---@param formatString string
|
|
---@param ... list
|
|
---@return number formatted
|
|
---Returns a formatted string containing specified values. Alias for the standard library function string.format. This version, however, includes the positional argument specifiers from Lua 4.0. Lua does not support the ANSI C format specifiers *, l, L, n, p, and h but includes an extra specifier, q, which formats a string in a form suitable to be safely read back by the Lua interpreter: the string is written between double quotes, and all double quotes, newlines, embedded zeros, and backslashes in the string are correctly escaped when written.
|
|
function format(formatString, ...) end
|