kodadot / loligo

Common good repository for Squid indexers in KodaDot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Increase / decrease function

vikiival opened this issue · comments

function inc(value: number | undefined) {
  return (value || 0) + ONE
}

function dec(value: number) {
  return value - ONE
}