MCPcopy Index your code
hub / github.com/material-shell/material-shell / InfinityTo0

Function InfinityTo0

src/utils/index.ts:146–148  ·  view source on GitHub ↗
(number: number)

Source from the content-addressed store, hash-verified

144};
145
146export const InfinityTo0 = (number: number) => {
147 return Math.abs(number) === Infinity ? 0 : number;
148};

Callers 2

resolveBoxMethod · 0.90
setTranslationMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected