module

Duktape::API::Coercion

Instance methods

buffer_to_string(index : Int)
Source
safe_to_lstring(index : Int)
Source
safe_to_stacktrace(index : Int)
Source
safe_to_string(index : Int)
Source
to_boolean(index : Int)
Source
to_buffer(index : Int)

Returns a slice to the buffer that was coerced at index.

Source
to_dynamic_buffer(index : Int)
Source
to_fixed_buffer(index : Int)
Source
to_int(index : Int)
Source
to_int32(index : Int)
Source
to_lstring(index : Int)
Source
to_null(index : Int)
Source
to_number(index : Int)
Source
to_object(index : Int)
Source
to_pointer(index : Int)
Source
to_primitive(index : Int, hint = LibDUK::Hint::String)
Source
to_stacktrace(index : Int)
Source
to_string(index : Int)
Source
to_uint(index : Int)
Source
to_uint16(index : Int)
Source
to_uint32(index : Int)
Source
to_undefined(index : Int)
Source