boolean() \ Language (API) \ Wiring ALPHA 1.0
Author: Hernando Barragán
Description: Wiring is an electronic sketchbook and hardware electronics for developing ideas. It is a context for learning fundamentals of computer programming and prototyping with electronics within the context of the electronic arts.
Keywords: Wiring, Processing, Interactive Media, Electronic Arts, Programming, C, C++, Hernando Barragán

Search wiring.org.co:

Reference for Wiring version 0023+. If you have a previous version, use the reference included with your software. If you see any errors or have any comments, let us know.

Name | ### boolean()
Examples |
    boolean b = boolean(60); // Sets the value of b to true

    boolean a = boolean(0); // sets the value of a to false
Description | Converts a primitive datatype to its boolean representation.
Syntax |
    boolean(val)
Parameters |
val | int, long, float, char, byte or boolean
Returns | boolean
Usage | Application
Related | boolean int() long() float() char() byte()

Updated on November 01, 2009 12:20:54pm PST