export async function getSingleUserQA(command: Command, period?: string[]) {
  let slackUserID;
  if (command && command.text) {
    slackUserID = command.text.match("/(?<=@)(.*?)(?=|)/g")[0];
  }
}
I am being flagged that 'command' is possibly 'null' or 'undefined'. How come if I am making sure that command exists and command.text exists?
 
    