'Interpretation of undefined returns in expo-file-system?

Some functions in the expo-file-system API can resolve to undefined (as opposed 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)?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source