MobilityDB 1.3
Loading...
Searching...
No Matches

◆ bool_in()

bool bool_in ( const char *  str)

Return a boolean from its string representation.

Parameters
[in]strString

Convert "t" or "f" to 1 or 0. Check explicitly for "true/false" and TRUE/FALSE, 1/0, YES/NO, ON/OFF and reject other values. In the switch statement, check the most-used possibilities first.

Note
PostgreSQL function: boolin(PG_FUNCTION_ARGS)