Module

utils/mapsequal

@ckeditor/ckeditor5-utils/src/mapsequal

module

Filtering

Functions

  • mapsEqual( mapA, mapB ) → boolean

    Checks whether given Maps are equal, that is has same size and same key-value pairs.

    Type parameters

    Key

    Parameters

    mapA : Map<Key, unknown>

    The first map to compare.

    mapB : Map<Key, unknown>

    The second map to compare.

    Returns

    boolean

    true if given maps are equal, false otherwise.