Packages
javascriptcoregtk-4.0
JS
Value
get_type
get_typed_array_type
is_array
is_boolean
is_date
is_equal
is_null
is_number
is_object
is_object_of_class
is_strict_equal
is_string
is_undefined
protect
to_boolean
to_number
to_object
to_string_copy
unprotect
Value
Object Hierarchy:
JS.Value
JS.Value
JS.Value
Description:
[
CCode
( cname =
"const struct OpaqueJSValue"
, free_function =
""
, has_type_id =
false
) ]
[
Compact
]
public
class
Value
Namespace:
JS
Package:
javascriptcoregtk-4.0
Content:
Methods:
public
Type
get_type
(
Context
ctx)
public
TypedArrayType
get_typed_array_type
(
Context
ctx,
out
Value
? exception =
null
)
public
bool
is_array
(
Context
ctx)
public
bool
is_boolean
(
Context
ctx)
public
bool
is_date
(
Context
ctx)
public
bool
is_equal
(
Context
ctx,
Value
b,
out
Value
? exception =
null
)
public
bool
is_null
(
Context
ctx)
public
bool
is_number
(
Context
ctx)
public
bool
is_object
(
Context
ctx)
public
bool
is_object_of_class
(
Context
ctx,
Class
js_class)
public
bool
is_strict_equal
(
Context
ctx,
Value
b)
public
bool
is_string
(
Context
ctx)
public
bool
is_undefined
(
Context
ctx)
public
void
protect
(
Context
ctx)
public
bool
to_boolean
(
Context
ctx)
public
double
to_number
(
Context
ctx,
out
Value
? exception =
null
)
public
Object
to_object
(
Context
ctx,
out
Value
? exception =
null
)
public
String
to_string_copy
(
Context
ctx,
out
Value
? exception =
null
)
public
void
unprotect
(
Context
ctx)