Check if Rich Text field is empty

HiI wanted to check if a field in the database is empty, but I can’t.The field is of type Text rich, can you help?
I already tried Undefined, but it doesn’t work

Example:

if ( results . items [ 0 ]. idText === undefined ){
$w ( “#grafic” ). collapse ()

} else {
$w ( “#grafic” ). html = text
}

const {items} = results;
if(items.length){
    if(!items[0].idText){
    //code
    }
}

(and for repeaters you should do it differently.)

thanks, it works