MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / _LtoNum

Function _LtoNum

vm/ByteCodeTranslator/src/javascript/parparvm_runtime.js:3729–3729  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

3727 return _L0;
3728}
3729function _LtoNum(x) { return (x && x.__l === 1) ? _LtoNumber(x) : Number(x); } // Long|Number -> Number
3730function _LisZero(a) { return a.h === 0 && a.l === 0; }
3731function _LisNeg(a) { return a.h < 0; }
3732function _Leq(a, b) { return a.h === b.h && a.l === b.l; }

Callers 9

ensureClassInitializedFunction · 0.85
toHostTransferArgFunction · 0.85
handleYieldFunction · 0.85
waitOnFunction · 0.85
_LshlFunction · 0.85
_LshrFunction · 0.85
_LushrFunction · 0.85
timezoneDatePartsFunction · 0.85
timezoneOffsetMillisFunction · 0.85

Calls 2

_LtoNumberFunction · 0.85
NumberClass · 0.50

Tested by

no test coverage detected