1
1
Fork 0
mirror of https://github.com/lune-org/lune.git synced 2025-04-15 17:33:54 +01:00
lune/tests/ffi/isInteger.luau
2024-10-13 05:09:31 +00:00

10 lines
241 B
Text

--!nocheck
--!nolint
local ffi = require("@lune/ffi")
local int = 0b1
local float = 0.5
assert(ffi.isInteger(int) == true, "ffi.isInteger(int) == true failed")
assert(ffi.isInteger(float) == false, "ffi.isInteger(float) == false failed")