[][src]Function xterm_js_sys::readonly_array::typify

fn typify<T: JsCast, R, R2: Clone>(
    on_type_mismatch: R2,
    func: impl FnMut(T, u32, ReadOnlyArray<T>) -> R,
    convert: impl Fn(R) -> R2
) -> impl FnMut(JsValue, u32, Array) -> R2

Wraps an array iter function so that it only sees actual types instead of JsValue.