FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
uniswap_interface_sc/apps/web/src/utils/isZero.ts at main · stringcode86/uniswap_interface_sc · GitHub
stringcode86
uniswap_interface_sc
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
uniswap_interface_sc
/
apps
/
web
/
src
/
utils
/
isZero.ts
Copy path
More file actions
More file actions
Latest commit
History
History
History
7 lines (7 loc) · 185 Bytes
Breadcrumbs
uniswap_interface_sc
/
apps
/
web
/
src
/
utils
/
isZero.ts
Copy path
File metadata and controls
7 lines (7 loc) · 185 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
/**
* Returns true if the string value is zero in hex
*
@param
hexNumberString
*/
export
default
function
isZero
(
hexNumberString
:
string
)
{
return
/
^
0
x
0
*
$
/
.
test
(
hexNumberString
)
}
Back
|
FazBrowse Home
|
New Git URL