toArabicNumerals() — ui Function Reference
Architecture documentation for the toArabicNumerals() function in pagination-rtl.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD b5bb849e_6657_d972_2ae6_95e1623bd242["toArabicNumerals()"] cb490df3_4e21_9c34_eac8_e1dee5541503["pagination-rtl.tsx"] b5bb849e_6657_d972_2ae6_95e1623bd242 -->|defined in| cb490df3_4e21_9c34_eac8_e1dee5541503 ea2ea588_97d8_f5f0_6197_a2b017c07181["PaginationRtl()"] ea2ea588_97d8_f5f0_6197_a2b017c07181 -->|calls| b5bb849e_6657_d972_2ae6_95e1623bd242 style b5bb849e_6657_d972_2ae6_95e1623bd242 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/examples/radix/pagination-rtl.tsx lines 43–50
function toArabicNumerals(num: number): string {
const arabicNumerals = ["٠", "١", "٢", "٣", "٤", "٥", "٦", "٧", "٨", "٩"]
return num
.toString()
.split("")
.map((digit) => arabicNumerals[parseInt(digit, 10)])
.join("")
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does toArabicNumerals() do?
toArabicNumerals() is a function in the ui codebase, defined in apps/v4/examples/radix/pagination-rtl.tsx.
Where is toArabicNumerals() defined?
toArabicNumerals() is defined in apps/v4/examples/radix/pagination-rtl.tsx at line 43.
What calls toArabicNumerals()?
toArabicNumerals() is called by 1 function(s): PaginationRtl.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free