Skip to content

cf_string_tobool

Category: string
GitHub: cute_string.h


Parses the string as a boolean. Returns true if the string is "true".

#define cf_string_tobool(s) stobool(s)
Parameters Description
s The string.

Return Value

Returns the parsed bool value.

Remarks

Shortform: stobool(s).

cf_string_bool
cf_string_toint