Inspectopedia
 
2025.2

Redundant type conversion

Warning
Performance
Last modified: Last modified: 18 September 2025

Reports unnecessary type conversions. Type conversions are unnecessary when the argument type of a string(), number(), or boolean() function is already the same as the function's return type or if the expected expression type is any. Suggests removing the unnecessary conversion.

Inspection ID: RedundantTypeConversion