MCPcopy Create free account
hub / github.com/MultithreadedJSBook/code-samples / isHappycoin

Function isHappycoin

ch3-happycoin/happycoin-threads.js:31–33  ·  view source on GitHub ↗
(num)

Source from the content-addressed store, hash-verified

29}
30
31function isHappycoin(num) {
32 return isHappy(num) && num % 10000n === 0n;
33}
34
35const THREAD_COUNT = 4;
36

Callers 1

Calls 1

isHappyFunction · 0.70

Tested by

no test coverage detected