mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
402ad82027
Summary: The `get*` methods will assert and thus crash if JS passes a value by the wrong type. Although we have type checking, we should strive to never crash the app if an incorrect value slips by. The `as*` variants will throw an error back into JS instead. Changelog: Internal Reviewed By: christophpurrer Differential Revision: D34630900 fbshipit-source-id: 5ec55ca08ca7a1f43b2d9bfbb1d4e6fa89146e12