Value :: toBool - Convert value to Boolean value
The function returns whether the value is true (true) or not (false). True and false values are defined for most elementary data types.
When no instance is selected in the value, the function throws an exception.
Return value: Success ( bool )
The value is true when the function was executed successfully. Otherwise the value is set to false.
Implementation overview
- Get Boolean value from current value
Value :: toBool (  ) - Is value for passed property true
Value :: toBool ( vSimplePath )
Implementation details
- to list
-
Is value for passed property true
bool Value  :: toBool ( odaba::String &vSimplePath )
The function returns whether the value of the property with the name passed in vSimplePath is true or not. When no property exists with the passed name the function throws an exception.
This is a short form for value(vSimplePath).toBool().
- vSimplePath
- Simple property path
A simple property path may contain an extent or property name but also a sequence of property names separated by dot. A simple property path must not contain parenthesis or preceding dots.
to list
- vSimplePath
- Simple property path