1 #import <Foundation/Foundation.h>
2 
3 #define REA_LOG_ERROR_IF_NIL(value, errorMsg) \
4   ({                                          \
5     if (value == nil)                         \
6       RCTLogError(errorMsg);                  \
7   })
8