synapsecns/sanguine

View on GitHub
packages/synapse-interface/utils/hasOnlyZeroes.ts

Summary

Maintainability
A
0 mins
Test Coverage
export const hasOnlyZeroes = (input: string): boolean => {
  return /^0+(\.0*)?$/.test(input)
}