doc.arcgis.com/en/cityengine/2025.0/cga/cga-bool-function.htm

Preview meta tags from the doc.arcgis.com website.

Linked Hostnames

1
  • General Meta Tags

    17
    • title
      bool function—ArcGIS CityEngine Resources | Documentation
    • charset
      utf-8
    • X-UA-Compatible
      IE=edge,chrome=1
    • viewport
      width=device-width, user-scalable=no
    • description
      bool function Syntaxbool bool(value)Parametersvalue—(float, bool, string) Value to convert.ReturnsA boolean value calculated from value.DescriptionThe bool function converts value to the corresponding boolean value. Float values are false if they are equal to 0, true otherwise. Strings are false if equal to "f", "false", "0", 0.0" etc, true otherwise.Related float function str function floatArray function boolArray function stringArray function Examplesbool(1) # result = truebool(0) # result = falsebool("1") # result = truebool(6.66) # result = truebool("false") # result = falsebool("f") # result = falsebool("true") # result = truebool("beneath the remains") # result = truebool(11.5 = 0) # result = false
  • Link Tags

    8
    • shortcut icon
      /assets/img/favicon.ico
    • stylesheet
      /assets/css/screen.css
    • stylesheet
      /cdn/calcite/css/documentation.css
    • stylesheet
      /assets/css/print.css
    • stylesheet
      /cdn/css/colorbox.css

Links

6