https://typescriptbook.jp/reference/values-types-variables/type-coercion
型強制 (type coercion) | TypeScript入門『サバイバルTypeScript』
JavaScriptにはデータ型がありますが、型が異なる2つの値に対し演算してもエラーにならない場合があります。たとえば、string型の"1"からnumber型の1を減算した場合、number型の0が計算結果として出てきます。
type coercion
https://www.databricks.com/wp-content/uploads/notebooks/python-udf-type-coercion.html
Python UDF Type Coercion - Databricks
type coercionpythonudfdatabricks