I am using the fetch library and I am trying this:
fetchtest() {
    fetch('someurl...').then((data) => {
        if (data.status === 200) {
            return true;
        }
    });
}
then to call it:
myMethod() {
    if (this.fetchtest()) {
        console.info('Would return true');
    }
}
It's not returning anything.
What I'm I doing wrong?
 
    