mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
ca3c8b7a7d
Summary: Currently `RCTBridgingToOptionalBool` and `RCTBridgingToOptionalDouble` will crash if passed an `NSNull` value. This diff changes these functions to instead treat it as equivalent to a missing value. Changelog: [Internal] Reviewed By: sammy-SC Differential Revision: D18532044 fbshipit-source-id: fa822dcacb49697dd8a4f7b579bcfc029e0cdf41