pub 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.
ยงSafety
- cx must point to a non-null, valid JSContext instance.