Get the name of a number, even if it's stupidly big.
25'ten fazla konu seçemezsiniz
Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
Bu depo arşivlendi. Dosyaları görüntüleyebilir ve klonlayabilirsiniz ama işlem gönderemez ve konu/değişiklik isteği açamazsınız.
|
- 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
|