react-native-macos/Libraries/TypeSafety
Moti Zilberman ca3c8b7a7d Treat NSNull like nil in RCTBridgingToOptional{Bool,Double}
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
2019-11-18 07:04:46 -08:00
..
RCTConvertHelpers.h Implement RCTConvertOptionalVecToArray(const folly::Optional<ContainerT> &vec) 2019-11-04 16:07:24 -08:00
RCTConvertHelpers.mm Treat NSNull like nil in RCTBridgingToOptional{Bool,Double} 2019-11-18 07:04:46 -08:00
RCTTypeSafety.podspec Move non-license comments out of license header 2019-10-15 20:12:12 -07:00
RCTTypedModuleConstants.h Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTTypedModuleConstants.mm Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00