/**
 *
 * @param {Uint8Array|Uint16Array|Uint32Array|Int8Array|Int16Array|Int32Array} array
 * @return {boolean}
 */
export function typed_array_is_integer(array) {
    const ctor = array.constructor;

    return ctor === Uint8ClampedArray
        || ctor === Uint8Array
        || ctor === Uint16Array
        || ctor === Uint32Array
        || ctor === Int8Array
        || ctor === Int16Array
        || ctor === Int32Array
        ;
}
