Boolean

The boolean datatype can have two states:

type Boolean
  = True
  | False

The string representation is defined in ABNF as:

boolean = "true" / "false"

For example, in JSON:

{"foo": "true", "bar": "false"}

And in CSV:

foo, bar
true, false

© Crown copyright released under the Open Government Licence.