to
  Converts the input value to a boolean. The result is `false` when then input is an empty string, 0, false, null, or NaN; otherwise it is true.
Example usage:
CircleLayer circleLayer = new CircleLayer("layer-id", "source-id");
circleLayer.setProperties(
    circleRadius(toBool(get("key-to-value")))
);
Content copied to clipboard
Return
expression
Parameters
input
expression input
See also
<a href="https://maplibre.