React Native Firebase
GitHub
npm
Preparing search index...
@react-native-firebase/firestore
pipelines/expressions
ifError
Function ifError
ifError
(
_tryExpr
:
BooleanExpression
,
_catchExpr
:
BooleanExpression
,
)
:
BooleanExpression
Beta
If tryExpr errors, return catchExpr/catchValue (error handling expression).
Parameters
_tryExpr
:
BooleanExpression
_catchExpr
:
BooleanExpression
Returns
BooleanExpression
ifError
(
_tryExpr
:
Expression
,
_catchExpr
:
Expression
)
:
FunctionExpression
Beta
If tryExpr errors, return catchExpr/catchValue (error handling expression).
Parameters
_tryExpr
:
Expression
_catchExpr
:
Expression
Returns
FunctionExpression
ifError
(
_tryExpr
:
Expression
,
_catchValue
:
unknown
)
:
FunctionExpression
Beta
If tryExpr errors, return catchExpr/catchValue (error handling expression).
Parameters
_tryExpr
:
Expression
_catchValue
:
unknown
Returns
FunctionExpression
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Documentation
GitHub
npm
React Native Firebase
Loading...
If tryExpr errors, return catchExpr/catchValue (error handling expression).