API: JS: 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::isArray()
@Objective: Verifies whether vm's specified stack index contains an array
value.
bool result = vm -> isArray(int index = 1);
━ vm::isObject()
@Objective: Verifies whether vm's specified stack index contains an object
value.
bool result = vm -> isObject(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);