firebase realtime dtabase check if a directory exists code example
Example: firebase realtime dtabase check if a directory exists
firebase.database().ref("path/node/").on('value', (snapshot) => { console.log(snapshot.exists()); });
firebase.database().ref("path/node/").on('value', (snapshot) => { console.log(snapshot.exists()); });