toArabicNumerals() — ui Function Reference
Architecture documentation for the toArabicNumerals() function in pagination-rtl.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 5df0716c_487c_7de6_edcd_11acc8a5ac4e["toArabicNumerals()"] 7a4e5033_749b_5887_fd4a_325a995cc298["pagination-rtl.tsx"] 5df0716c_487c_7de6_edcd_11acc8a5ac4e -->|defined in| 7a4e5033_749b_5887_fd4a_325a995cc298 a64ea5bc_145c_2b7b_39e9_06f592cf406e["PaginationRtl()"] a64ea5bc_145c_2b7b_39e9_06f592cf406e -->|calls| 5df0716c_487c_7de6_edcd_11acc8a5ac4e style 5df0716c_487c_7de6_edcd_11acc8a5ac4e fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/examples/base/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/base/pagination-rtl.tsx.
Where is toArabicNumerals() defined?
toArabicNumerals() is defined in apps/v4/examples/base/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