MCPcopy Create free account
hub / github.com/Tencent/RapidView / optint

Method optint

luaj_virtual_machine/src/core/org/luaj/vm2/Varargs.java:201–201  ·  view source on GitHub ↗

Return argument i as a java int value, discarding any fractional part, defval if nil, or throw a LuaError if not a number. @param i the index of the argument to test, 1 is the first argument @return int value with fraction discarded and truncated if necessary if argument i is number, or def

(int i, int defval)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

argMethod · 0.95

Tested by

no test coverage detected