MCPcopy
hub / github.com/KilledByAPixel/LittleJS / sign

Function sign

src/engineMath.js:65–65  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

63 * @return {number}
64 * @memberof Math */
65const sign = (x) => Math.sign(x);
66
67/** Returns hypotenuse of values passed in
68 * @param {...number} values

Callers 7

onMouseWheelFunction · 0.85
lineTestFunction · 0.85
updatePhysicsMethod · 0.85
zzfxGFunction · 0.85
isLineClearMethod · 0.85
uiUpdateMethod · 0.85
gameUpdateFunction · 0.85

Calls 1

signMethod · 0.80

Tested by

no test coverage detected