react-native
react-native copied to clipboard
Use native .isNaN instead of java.lang.Float.isNaN
Summary:
Changelog:
[Internal] -
Based on review discussions in on of the previous PRs, it's a better style to use native Kotlin's .isNaN instead of java.lang.Float.isNaN().
This makes sure that we uniformly do so throughout the codebase.
Differential Revision: D75215199
This pull request was exported from Phabricator. Differential Revision: D75215199
Merged as https://github.com/facebook/react-native/commit/88ca4bb1b75e15444c1558e4c0ae4bcd34407a8a