False (Json function): Difference between revisions
Jump to navigation
Jump to search
(Automatically generated page update) |
No edit summary |
||
Line 1: | Line 1: | ||
{{Template:Json:False subtitle}} | {{Template:Json:False subtitle}} | ||
This | This function creates a boolean Json object with a value of false. | ||
==Syntax== | ==Syntax== | ||
{{Template:Json:False syntax}} | {{Template:Json:False syntax}} | ||
Line 11: | Line 11: | ||
</table> | </table> | ||
==Usage notes== | ==Usage notes== | ||
<ul> | |||
<li>The False method is equivalent to [[Boolean (Json function)|Boolean(false)]].</li> | |||
</ul> | |||
==Examples== | ==Examples== | ||
The following creates a boolean Json object with a value of false: | |||
<p class="code">b | |||
%json is object json | |||
%json = false | |||
printText {~=%json} | |||
end | |||
</p> | |||
It prints: | |||
<p class="code">%json=false | |||
</p> | |||
==See also== | ==See also== | ||
{{Template:Json:False footer}} | {{Template:Json:False footer}} |
Revision as of 03:19, 18 February 2015
Create a false Boolean JSON object (Json class)
[Introduced in Model 204 7.6]
This function creates a boolean Json object with a value of false.
Syntax
%json = [%(Json):]False
Syntax terms
%json | Json object |
---|---|
[%(Json):] | The optional class name in parentheses denotes a virtual constructor. See "Usage notes", below, for more information about invoking a virtual constructor. |
Usage notes
- The False method is equivalent to Boolean(false).
Examples
The following creates a boolean Json object with a value of false:
b %json is object json %json = false printText {~=%json} end
It prints:
%json=false