withHashes
function withHashes<T>(
data: T[],
nextHash: (hash: Field, value: T) => Field,
emptyHash: Field): {
"data": WithHash<T>[];
"hash": Field;
}
Type parameters
• T
Parameters
• data: T
[]
• nextHash
• emptyHash: Field
Returns
{
"data": WithHash<T>[];
"hash": Field;
}
data
data: WithHash<T>[];
hash
hash: Field;