Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/Effect-TS/effect
/ max
Function
max
packages/typeclass/src/Semigroup.ts:59–59 ·
view source on GitHub ↗
(O: Order<A>)
Source
from the content-addressed store, hash-verified
57
* @since 0.24.0
58
*/
59
export
const
max = <A>(O: Order<A>): Semigroup<A> => make((self, that) => O(self, that) === 1 ? self : that)
60
61
/**
62
* @category constructors
Callers
nothing calls this directly
Calls
1
make
Function · 0.70
Tested by
no test coverage detected