boolean

Construction
Name: boolean

Category: Construction

Description:
    Convert a string or number into a boolean.

Syntax:
    x
    boolean(x)

Examples:
    boolean(0)
        false
    boolean(1)
        true
    boolean(3)
        true
    boolean("true")
        true
    boolean("false")
        false
    boolean([1, 0, 1, 1])
        [true, false, true, true]

See also: bignumber, complex, index, matrix, number, string, unit