Correct null and boolean values being capitalised by the str command
This commit is contained in:
@@ -9904,7 +9904,7 @@ msgid ""
|
||||
"Cast a [String] value to a boolean value, this method will return "
|
||||
"[code]false[/code] if [code]\"\"[/code] is passed in, and [code]true[/code] "
|
||||
"for all non-empty strings.\n"
|
||||
"Examples: [code]bool(\"False\")[/code] returns [code]true[/code], "
|
||||
"Examples: [code]bool(\"false\")[/code] returns [code]true[/code], "
|
||||
"[code]bool(\"\")[/code] returns [code]false[/code]."
|
||||
msgstr ""
|
||||
|
||||
@@ -33055,8 +33055,8 @@ msgid ""
|
||||
"code]:\n"
|
||||
"[codeblock]\n"
|
||||
"var n = Node2D.new()\n"
|
||||
"print(\"position\" in n) # Prints \"True\".\n"
|
||||
"print(\"other_property\" in n) # Prints \"False\".\n"
|
||||
"print(\"position\" in n) # Prints \"true\".\n"
|
||||
"print(\"other_property\" in n) # Prints \"false\".\n"
|
||||
"[/codeblock]\n"
|
||||
"The [code]in[/code] operator will evaluate to [code]true[/code] as long as "
|
||||
"the key exists, even if the value is [code]null[/code].\n"
|
||||
|
||||
Reference in New Issue
Block a user