AcornSearch - Acorn and RISC OS information searching
RISC OS Search
containing
"Nutty quip goes here!"
Home  |  About  |  Filebase Archive  |  StrongHelp Manuals  |  Newsgroups  |  Module Database
Entry:     JSVAL_TO_BOOLEAN (Macro)
Summary:     Converts a JS value to a C true or false value.
Syntax:
JSVAL_TO_BOOLEAN(v)

Description:
JSVAL_TO_BOOLEAN converts a specified JS value, v, to a C true or false value by performing a bitwise right shift operation. JSVAL_TO_BOOLEAN assumes that it was passed a JS value of type JSVAL_BOOLEAN, and returns that JS value's corresponding C integer value.


See also:
BOOLEAN_TO_JSVAL
JSVAL_TO_INT
JSVAL_TO_PRIVATE

[sh-index] Back to list of manuals