Function shardNumber
Returns the shard number a given snowflake is on (given the number of shards)
Prototype
ushort shardNumber(
ulong id,
ushort numShards
);
Returns the shard number a given snowflake is on (given the number of shards)
ushort shardNumber(
ulong id,
ushort numShards
);