Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/isomorphic-git/isomorphic-git
/ negateExceptForZero
Function
negateExceptForZero
src/utils/formatAuthor.js:26–28 ·
view source on GitHub ↗
(n)
Source
from the content-addressed store, hash-verified
24
}
25
26
function
negateExceptForZero(n) {
27
return
n === 0 ? n : -n
28
}
Callers
1
formatTimezoneOffset
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…