( value: Value, hlc: Hlc, hash: Hash, )
| 28 | ): Stamp<Value> => (hlc ? [value, hlc] : [value]); |
| 29 | |
| 30 | export const stampNewWithHash = <Value>( |
| 31 | value: Value, |
| 32 | hlc: Hlc, |
| 33 | hash: Hash, |
| 34 | ): Stamp<Value, true> => [value, hlc, hash]; |
| 35 | |
| 36 | export const getStampHash = (stamp: Stamp<unknown, true>): Hash => stamp[2]; |
| 37 |
no outgoing calls
no test coverage detected
searching dependent graphs…