Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/isomorphic-git/isomorphic-git
/ negateExceptForZero
Function
negateExceptForZero
src/utils/parseAuthor.js:23–25 ·
view source on GitHub ↗
(n)
Source
from the content-addressed store, hash-verified
21
}
22
23
function
negateExceptForZero(n) {
24
return
n === 0 ? n : -n
25
}
Callers
1
parseTimezoneOffset
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…