API: Lua: VM: Checker - ov-studio/Vital.sandbox GitHub Wiki
━ Methods
━ vm::isNil()
@Objective: Verifies whether vm's specified stack index contains a nil
value.
bool result = vm -> isNil(int index = 1);
━ vm::isBool()
@Objective: Verifies whether vm's specified stack index contains a boolean
value.
bool result = vm -> isBool(int index = 1);
━ vm::isString()
@Objective: Verifies whether vm's specified stack index contains a string
value.
bool result = vm -> isString(int index = 1);
━ vm::isNumber()
@Objective: Verifies whether vm's specified stack index contains a number
value.
bool result = vm -> isNumber(int index = 1);
━ vm::isTable()
@Objective: Verifies whether vm's specified stack index contains a table
value.
bool result = vm -> isTable(int index = 1);
━ vm::isThread()
@Objective: Verifies whether vm's specified stack index contains a thread
value.
bool result = vm -> isThread(int index = 1);
━ vm::isUserData()
@Objective: Verifies whether vm's specified stack index contains a userdata
value.
bool result = vm -> isUserData(int index = 1);
━ vm::isFunction()
@Objective: Verifies whether vm's specified stack index contains a function
value.
bool result = vm -> isFunction(int index = 1);