Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/AnswerOverflow/AnswerOverflow
/ getIncrement
Function
getIncrement
packages/ui/src/utils/snowflake.tsx:38–40 ·
view source on GitHub ↗
(snowflake: Snowflake)
Source
from the content-addressed store, hash-verified
36
}
37
38
export function getIncrement(snowflake: Snowflake) {
39
return Number(BigInt(snowflake) & BigInt(0xfff));
40
}
41
42
export function parse(snowflake: Snowflake) {
43
return {
Callers
1
parse
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected