Module: crdt/ORSetForArrays

This module implements the CRDT ORSetForArrays algorithm.

Source:

Classes

ORSetForArrays

Methods

(inner) isORSetMetadataFastCheck(data) → {boolean}

Parameters:
Name Type Description
data any

The data to check for compatibility.

Function that verifies that the metadata has the correct format. It checks the array types, not each element in the array.

Source:
Returns:

Type: boolean

(inner) isORSetMetadata(data) → {boolean}

Parameters:
Name Type Description
data unknown

The data to check for compatibility.

Function that verifies that the metadata has the correct format. It checks the array types and every element in the array.

Source:
Returns:

Type: boolean