{"size": 728, "ext": "scrbl", "max_stars_repo_path": "docs/written/builtin/booleans.scrbl", "max_stars_repo_name": "jpolitz/pyret-lang", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "docs/written/builtin/booleans.scrbl", "max_issues_repo_name": "jpolitz/pyret-lang", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "docs/written/builtin/booleans.scrbl", "max_forks_repo_name": "jpolitz/pyret-lang", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 23.4838709677, "max_line_length": 74, "alphanum_fraction": 0.6016483516}
#lang scribble/base
@(require "../../scribble-api.rkt" "../abbrevs.rkt")

@(append-gen-docs
  '(module "booleans"
    (path "src/js/base/runtime-anf.js")
    (data-spec
      (name "Boolean")
      (variants)
      (shared))
    (fun-spec
      (name "not")
      (arity 1)
      (args ("b"))
      (return (a-id "Boolean" (xref "<global>" "Boolean")))
      (doc "Negates the boolean value"))))

@docmodule["booleans" #:noimport #t #:friendly-title "Booleans"]{
  @type-spec["Boolean" (list)]

  The type of the values @pyret{true} and @pyret{false}.

  @section{Boolean Functions}

  @function["not" #:contract (a-arrow B B) #:return B #:alt-docstrings ""]

  Returns @pyret{true} when given @pyret{false} and vice versa.

}

