Some functions in the expo-file-system
API can resolve to undefined
in addition to being rejected, but I can’t find any explanation in the docs of how to interpret such a return value. What is the meaning of an undefined
return (as opposed to rejection)?
Hey @orome
If there’s any function that resolves to the value that is not described in the docs you can treat is as a bug. If such thing is happening to you should definitely create an issue describing such buggy scenario and we’ll investigate it further
You can expect every function to return the value described in the docs and the TypeScript API, and the result of the function call should be always either rejection (with a meaningful message/value) or the actual result you’re expecting.
1 Like
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.