ot::ToYesNo() function
Converts a boolean to "yes" or "no" string.
Syntax
const char *ToYesNo(bool aBool); Arguments
aBool
A boolean value to convert.
Return value
The converted string representation of @p aBool ("yes" for TRUE and "no" for FALSE).
![]()
const char *ToYesNo(bool aBool)![]()
const char *ToYesNo(bool aBool);![]()
LogInfo("Sent data poll, fp:%s", ToYesNo(framePending));
ot::ToYesNo() is called by 6 functions:
![]()
ot::ToYesNo()
ot::ToYesNo():
![]()
ot::ToYesNo()