Get the name of a number, even if it's stupidly big.
Nie możesz wybrać więcej, niż 25 tematów
Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
To repozytorium jest zarchiwizowane. Możesz wyświetlać pliki i je sklonować, ale nie możesz do niego przepychać zmian lub otwierać zgłoszeń/Pull Requestów.
|
- import { Digit } from '../../../common'
- import NAMES from '../names'
-
- interface Ones {
- (x1: Digit): string
- }
-
- /**
- * Get the name of some number in the ones place.
- * @param {number} x1 - The number in the ones place.
- * @returns {string} The name of the number in the ones place.
- */
- const ones: Ones = (x1) => NAMES.units[x1]
-
- export default ones
|