Inspectopedia
 
2024.3

Redundant cast to boolean

Info
New
Last modified: 03 December 2024

Reports the (bool)/(boolean) casts and boolval() calls that are redundant since casting to bool is performed implicitly.