HaxeAPI
  • Version 4.3.7
    • 3.4.7
    • 4.0.5
    • 4.1.3
    • 4.2.5
    • 4.3.7
    • Development
  • Download Haxe
  • Learn Haxe
    • Introduction
    • Manual
    • Code Cookbook
    • API Documentation
    • Videos
    • Try Haxe online
    • Haxelib
  • Connect
    • Github
    • Bug reports
    • Stack Overflow
    • Forums
    • Discord
    • Gitter
    • Blog
    • Facebook
    • #haxe
    • @haxelang
    • @haxe_org
    • Contact
View source

abstract Bool

no package

@:coreType@:notNull@:runtimeValue

Available on all platforms

The standard Boolean type, which can either be true or false.

On static targets, null cannot be assigned to Bool. If this is necessary, Null<Bool> can be used instead.

See also:

  • https://haxe.org/manual/types-bool.html

  • https://haxe.org/manual/types-nullability.html

This documentation is generated for version 4.3.7

© 2026  Haxe Foundation | Contribute to Haxe