The Fabl Manual
Function Index
Class Index
Globals Index
Libraries
Contents

Title Page
Introduction
Sample Code
Architecture
Syntax
Strong Typing
Polymorphism
Operators
Help
Errors
Configuration
RDF
Namespaces
Owl
Datatypes
Resources
Dot ops
Coercion
Type Casting
nil

Types
string
id
int
double
boolean
Literal
Containers
Functions
void

Home
Regarding
The Path
Classes
Delegation
Functional Values
Read/Write
Load/Store
Libraries
Imports
CGI
boolean

The Fabl datatype boolean implements xsd:boolean.

boolean is a type that contains two values: true and false. The operators &&, ||, ! represent logical and, or , and not, respectively, and == is equality.

int toInt(boolean b)

returns 0 for false, and 1 for true.