IsHappy
Generated from the engine's own definition: compute-engine's symbol, which we neither extend nor document by hand. No examples yet — the crosswalk is the reason it has a page.
True if n is a happy number, a number which eventually reaches 1 when the number is replaced by the sum of the square of each digit
IsHappy(integer) -> booleanas compute-engine declares itTyped signatures
| Type | Package | Applies |
|---|---|---|
(integer) -> boolean | compute-engine | always |