yo(selector).exists()
Return true if the selector exists (or was found);
if (yo('#myid').exists()) {
console.log('Exists');
}
Go to index
Return true if the selector exists (or was found);
if (yo('#myid').exists()) {
console.log('Exists');
}
Go to index