export function stringListEquals( left: readonly string[] | null | undefined, right: readonly string[] | null | undefined ): boolean { if (left === right) { return true; } if (!left || !right || left.length !== right.length) { return false; } return left.every((value, index) => value === right[index]); }