Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Effect-TS/effect
/ format
Function
format
packages/effect/src/Rational.ts:984–984 ·
view source on GitHub ↗
(n: Rational)
Source
from the content-addressed store, hash-verified
982
* @since 4.1.3
983
*/
984
export
const
format = (n: Rational): string => `${n.numerator}/${n.denominator}`
985
986
const
bitLength = (n: bigint): number => n.toString(2).length
987
Callers
2
toString
Function · 0.70
Rational.ts
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected