Skip to main content

bool.tostring()

Converts a bool to a string

Availability

Device, Agent

Returns

String — "true" for true or "false" for false

Description

This method returns the string "true" or "false" depending on the target bool’s value.

Example Code