build/modelscript.umd.js
function padArray (data, options) {
                options = extend({}, defaultOptions$o, options);

                if (Array.isArray(data)) {
                    if (Array.isArray(data[0]))
                        return matrixCase(data, options);
                    else
                        return arrayCase(data, options);
                }
                else
                    throw new TypeError('data should be an array');
            }
function padArray (data, options) {
                options = extend({}, defaultOptions$o, options);

                if (Array.isArray(data)) {
                    if (Array.isArray(data[0]))
                        return matrixCase(data, options);
                    else
                        return arrayCase(data, options);
                }
                else
                    throw new TypeError('data should be an array');
            }
function padArray ( data , options ) { options = extend ( { } , defaultOptions$o , options ) ; if ( Array . isArray ( data ) ) { if ( Array . isArray ( data [ 0 ] ) ) return matrixCase ( data , options ) ; else return arrayCase ( data , options ) ; } else throw new TypeError ( 'data should be an array' ) ; }
Pads and array
@param {Array <number>} data
@param {object} options
Pads and array