The one-cell case
For a single cell, getValue() returns the cell's value as a JavaScript primitive — a string, number, boolean, or Date. Coercing it to a string first with String() protects you from cells that happen to hold a number or are empty, both of which would throw on .includes() otherwise.
var val = sheet.getRange('B2').getValue(); if (String(val).toLowerCase().includes('urgent')) { /* match */ }. Case-folding with .toLowerCase() before the check means you match 'Urgent', 'URGENT', and 'urgent' with one target string. That's the pattern I keep in a utils file and import into every sheet project.