mirror of
https://github.com/lune-org/lune.git
synced 2025-04-03 18:10:54 +01:00
7 lines
239 B
Text
7 lines
239 B
Text
local ffi = require("@lune/ffi")
|
|
|
|
local int = 0b1
|
|
local float = 0.5
|
|
|
|
assert(ffi.isInteger(int) == true, "ffi.isInteger(int) == true assersion failed")
|
|
assert(ffi.isInteger(float) == false, "ffi.isInteger(float) == false assersion failed")
|