Add a custom Pygments lexer plug-in for Wren syntax highlighting, update contributing docs with setup instructions for the lexer, and switch every `:::dart` annotation across all doc/site markdown files to `:::wren` so code examples render with the correct language grammar.
343 B
343 B
^title Bool Class ^category core
Boolean values. There are two instances, true and false.
Methods
! operator
Returns the logical complement of the value.
:::wren
System.print(!true) // "false".
System.print(!false) // "true".
toString
The string representation of the value, either "true" or "false".