Function isSameCellValue

  • True if two cell values are the same for a batch edit: Object.is, dates by time, a number and the text of the same number (an editor without editInputPipe returns texts), and null / undefined / "" as "empty".

    Parameters

    • a: unknown

      one value

    • b: unknown

      another value

    Returns boolean

    whether the cell would not change

    Example

    isSameCellValue(5, "5");                                        // true
    isSameCellValue(new Date(2026, 0, 1), new Date(2026, 0, 1)); // true
    isSameCellValue(undefined, ""); // true

    Since

    1.1.96