Mercury interview question

// The function you provided (isNotNill) will return true if an empty string is provided, because an empty string is considered a truthy value in JavaScript and TypeScript. isNotNullOrUndefined(v: string | null | undefined): boolean { return !!v; }