Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/immutable-js/immutable-js
/ assertNotInfinite
Function
assertNotInfinite
src/utils/assertNotInfinite.ts:3–8 ·
view source on GitHub ↗
(size: number)
Source
from the content-addressed store, hash-verified
1
import
invariant from
'./invariant'
;
2
3
export
default
function
assertNotInfinite(size: number): void {
4
invariant(
5
size !== Infinity,
6
'Cannot perform this action with an infinite size.'
7
);
8
}
Callers
13
pushAll
Method · 0.85
constructor
Method · 0.85
constructor
Method · 0.85
constructor
Method · 0.85
reduce
Function · 0.85
constructor
Method · 0.85
toArray
Function · 0.85
every
Function · 0.85
forEach
Function · 0.85
join
Function · 0.85
some
Function · 0.85
constructor
Method · 0.85
Calls
1
invariant
Function · 0.85
Tested by
no test coverage detected