Looking at the code of string.format, I don’t see anything that supports boolean values.
I guess tostring is the most reasonable option in that case.
Example:
print("this is: " .. tostring(true)) -- Prints: this is true
Looking at the code of string.format, I don’t see anything that supports boolean values.
I guess tostring is the most reasonable option in that case.
Example:
print("this is: " .. tostring(true)) -- Prints: this is true