Home    Reference > E Views > boolean
prev next

Description

View of string.

View boolean

@x:view boolean

@x:view @x:func sys:Is(v~boolean)~boolean
@x:view @x:func sys:And(a~boolean,b~boolean)~boolean
@x:view @x:func sys:Or(a~boolean,b~boolean)~boolean
@x:view @x:func sys:Xor(a~boolean,b~boolean)~boolean
@x:view @x:func sys:Not(a~boolean)~boolean

View Function sys:Is

@x:func sys:Is(v~boolean)~boolean
v value to test

Semantics

The result is
true if v is either "true" or "false".

View Function sys:And

@x:func sys:And(a~boolean,b~boolean)~boolean
a first parameter
b second parameter. If the value of a is false, then the actual parameter expression for b is not evaluated.

Semantics

The result is the boolean and of a and b.

View Function sys:Or

@x:func sys:Or(a~boolean,b~boolean)~boolean
a first parameter
b second parameter. If the value of a is true, then the actual parameter expression for b is not evaluated.

Semantics

The result is the boolean or of a and b.

View Function sys:Xor

@x:func sys:Xor(a~boolean,b~boolean)~boolean
a first parameter
b second parameter

Semantics

The result is is the boolean exclusive or of a and b.

View Function sys:Not

@x:func sys:Not(a~boolean)~boolean
a first parameter

Semantics

The result is is the boolean not of a.