module Duktape::API::Coercion

Direct including types

Defined in:

duktape/api/coercion.cr

Instance Method Summary

Instance Method Detail

def buffer_to_string(index : Int) #

[View source]
def safe_to_lstring(index : Int) #

[View source]
def safe_to_stacktrace(index : Int) #

[View source]
def safe_to_string(index : Int) #

[View source]
def to_boolean(index : Int) #

[View source]
def to_buffer(index : Int) #

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


[View source]
def to_dynamic_buffer(index : Int) #

[View source]
def to_fixed_buffer(index : Int) #

[View source]
def to_int(index : Int) #

[View source]
def to_int32(index : Int) #

[View source]
def to_lstring(index : Int) #

[View source]
def to_null(index : Int) #

[View source]
def to_number(index : Int) #

[View source]
def to_object(index : Int) #

[View source]
def to_pointer(index : Int) #

[View source]
def to_primitive(index : Int, hint = LibDUK::Hint::String) #

[View source]
def to_stacktrace(index : Int) #

[View source]
def to_string(index : Int) #

[View source]
def to_uint(index : Int) #

[View source]
def to_uint16(index : Int) #

[View source]
def to_uint32(index : Int) #

[View source]
def to_undefined(index : Int) #

[View source]