function shouldUseYarn()

in packages/create-react-kotlin-app/createReactApp.js [197:204]


function shouldUseYarn() {
  try {
    execSync('yarnpkg --version', { stdio: 'ignore' });
    return true;
  } catch (e) {
    return false;
  }
}