Function script::dom::bindings::conversions::jsid_to_string
source ยท pub unsafe fn jsid_to_string(
cx: *mut JSContext,
id: HandleId<'_>,
) -> Option<DOMString>
Expand description
Convert id
to a DOMString
. Returns None
if id
is not a string or
integer.
Handling of invalid UTF-16 in strings depends on the relevant option.