Inspectopedia
 
2024.3

Redundant type conversion

Warning
Performance
New
Last modified: 03 December 2024

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.