Get the name of a number, even if it's stupidly big.
Вы не можете выбрать более 25 тем
Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
Это архивный репозиторий. Вы можете его клонировать или просматривать файлы, но не вносить изменения или открывать задачи/запросы на слияние.
|
- import { Digit } from '../../../common'
- import NAMES from '../names'
-
- interface TenTimes {
- (x10: Digit): string
- }
-
- /**
- * Get the name of some number in the tens place.
- * @param {number} x10 - The number in the tens place.
- * @returns {string} The name of the number in the tens place.
- */
- const tenTimes: TenTimes = (x10) => NAMES.tenTimes[x10]
-
- export default tenTimes
|