Armstrong Number Checking

Armstrong Number Checking

In number theory, an Armstrong number (after Michael F. Armstrong) or narcissistic number in a given number base (10 for this mission) is a number that is the sum of its own digits each raised to the power of the number of digits. For example, 153 is an Armstrong number because 13 + 53 + 33 == 153.

example

Input: Integer (number).

Output: Logic value (boolean).

Examples:

assert.strictEqual(isArmstrong(153),...
You should be an authorized user in order to see the full description and start solving this mission.