getRowHash
The getRowHash
function returns a hash for a single Row
in a Table
, based on each Cell
Id
and hash.
getRowHash(cellHashes: {[cellId: Id]: Hash}): Hash
Example
This example gets the hash of a Row
.
import {getRowHash} from 'tinybase';
const cellHashes = {
'species': 3002200796, // hash of 'dog' and '03E3B------mmxrx'
};
console.log(getRowHash(cellHashes));
// -> 1810444343
Since
v6.2.0