Lines Matching refs:undefined

154 …on() { return typeof Buffer !== 'undefined' && typeof process !== 'undefined' && typeof process.ve…
157 if(typeof Buffer !== 'undefined') {
165 if(typeof Buffer === 'undefined') return false;
176 return typeof Uint8Array != "undefined" ? new Uint8Array(len) : new Array(len);
183 return typeof Uint8Array != "undefined" ? new Uint8Array(len) : new Array(len);
193 if(typeof ArrayBuffer === 'undefined') return s2a(s);
205 if(typeof Uint8Array === 'undefined') throw new Error("Unsupported");
210 if(typeof ArrayBuffer == 'undefined') throw new Error("Unsupported");
219 if(typeof Uint8Array !== "undefined") {
554 case 'undefined': return "";
1258 if(table_fmt[i] == undefined) { if(idx < 0) idx = i; continue; }
1270 if(tbl[i] !== undefined) SSF_load(tbl[i], i);
1425 return typeof Int32Array !== 'undefined' ? new Int32Array(table) : table;
1430 …var c = 0, v = 0, n = 0, table/*:Array<number>*/ = typeof Int32Array !== 'undefined' ? new Int32Ar…
1438 …for(n = 1; n != 16; ++n) out[n - 1] = typeof Int32Array !== 'undefined' ? table.subarray(n * 256, …
1891 …if(sector_list[o.start] === undefined) sector_list[o.start] = get_sector_list(sectors, o.start, se…
2240 …/*:: if(typeof Buffer == 'undefined' || !Buffer.isBuffer(o) || !(o instanceof Buffer)) throw new E…
2294 var use_typed_arrays = typeof Uint8Array !== 'undefined';
2729 if(wrn) { if(typeof console !== 'undefined') console.error(msg); }
3246 …if(typeof _fs !== 'undefined' && _fs.writeFileSync) return enc ? _fs.writeFileSync(fname, payload,…
3247 if(typeof Deno !== 'undefined') {
3259 if(typeof IE_SaveFile !== 'undefined') return IE_SaveFile(data, fname);
3260 if(typeof Blob !== 'undefined') {
3263 …if(typeof navigator !== 'undefined' && navigator.msSaveBlob) return navigator.msSaveBlob(blob, fna…
3265 if(typeof saveAs !== 'undefined') return saveAs(blob, fname);
3266 …if(typeof URL !== 'undefined' && typeof document !== 'undefined' && document.createElement && URL.…
3270 …if(URL.revokeObjectURL && typeof setTimeout !== 'undefined') setTimeout(function() { URL.revokeObj…
3278 …if(URL.revokeObjectURL && typeof setTimeout !== 'undefined') setTimeout(function() { URL.revokeObj…
3284 …if(typeof $ !== 'undefined' && typeof File !== 'undefined' && typeof Folder !== 'undefined') try {…
3295 if(typeof _fs !== 'undefined') return _fs.readFileSync(path);
3296 if(typeof Deno !== 'undefined') return Deno.readFileSync(path);
3298 …if(typeof $ !== 'undefined' && typeof File !== 'undefined' && typeof Folder !== 'undefined') try {…
3419 if(typeof TextDecoder !== "undefined") try {
3443 if(typeof JSON != 'undefined' && !Array.isArray(o)) return JSON.parse(JSON.stringify(o));
3579 //else if(typeof TextEncoder !== "undefined") res = new TextEncoder().encode(content);
3810 if(vt_cache[bt] !== undefined) return vt_cache[bt];
3852 …if(has_buf &&/*::typeof Buffer !== "undefined" && d != null && d instanceof Buffer &&*/ Buffer.isB…
3855 if(typeof Uint8Array !== 'undefined' && d instanceof Uint8Array) return utf8read(a2s(ab2a(d)));
3953 var is_buf = function is_buf_a(a) { return Array.isArray(a) || (typeof Uint8Array !== "undefined" &…
3955 if(has_buf/*:: && typeof Buffer !== 'undefined'*/) {
3962 …eturn Buffer.isBuffer(a) || Array.isArray(a) || (typeof Uint8Array !== "undefined" && a instanceof…
3975 if(typeof $cptable !== 'undefined') cpdoit();
3998 …if(typeof $cptable !== 'undefined') o = $cptable.utils.decode(current_codepage, this.slice(this.l,…
4033 if(typeof $cptable !== 'undefined') {
4080 if(typeof $cptable !== 'undefined' && current_ansi == 874) {
4088 } else if(typeof $cptable !== 'undefined' && f == 'cpstr') {
4307 if(typeof ce === 'undefined' || typeof ce === 'number') {
4371 if(cell.w !== undefined) return cell.w;
4374 if(v == undefined) return safe_format_cell(cell, cell.v);
4411 if(typeof data[R][C] === 'undefined') continue;
5326 if(ct[ct2type[y.ContentType]] !== undefined) ct[ct2type[y.ContentType]].push(y.PartName);
5751 if(cp[f[1]] === undefined) return;
5757 if(v !== undefined) o[o.length] = (W(f[0], v));
5803 if(opts.WTF && typeof console !== 'undefined') console.warn('Unexpected', x, type, toks);
7763 …field.name = (typeof $cptable !== "undefined" ? $cptable.utils.decode(current_cp, d.slice(d.l, d.l…
7817 var s = typeof $cptable !== "undefined" ? $cptable.utils.decode(current_cp, dd) : a2s(dd);
7927 …maxlen = Math.max(maxlen, (typeof $cptable !== "undefined" && typeof col[j] == "string" ? $cptable…
8119 …if(typeof $cptable !== 'undefined' && typeof val == "string" && ((opts||{}).type != "string") && (…
8657 …else if(opts.codepage && typeof $cptable !== 'undefined') str = $cptable.utils.decode(opts.codepag…
8666 …else if((opts.type == 'binary') && typeof $cptable !== 'undefined' && opts.codepage) str = $cptab…
10062 if(typeof $cptable !== 'undefined') return $cptable.utils.encode(current_ansi, str);
15118 var browser_has_Map = typeof Map !== 'undefined';
15215 else if(p.v === undefined) return "";
15411 if(!s[R][C]) s[R][C] = {t:"z",v:undefined};
15414 if(!s[addr]) s[addr] = {t:"z",v:undefined};
15501 …if((cell.v === undefined || cell.t === "z" && !(opts||{}).sheetStubs) && typeof cell.f !== "string…
15515 if(typeof cell.z === 'undefined') cell.z = table_fmt[14];
15658 if(tag.t == null && p.v === undefined) {
15676 if(typeof p.v == 'undefined') {
15712 if(do_format && tag.s !== undefined) {
15748 if(_cell === undefined) continue;
16553 if(!s[R][C]) s[R][C] = {t:'z',v:undefined};
16557 if(!s[addr]) s[addr] = {t:'z',v:undefined};
16709 if(cell.v === undefined) return false;
17991 if(sid === undefined && row) sid = row.StyleID;
17992 if(sid === undefined && csty) sid = csty.StyleID;
17993 while(styles[sid] !== undefined) {
18016 if(cell.v === undefined) cell.v=+xml;
18051 if(cell.StyleID !== undefined) cell.ixfe = cell.StyleID;
18061 comment.v = comment.w = comment.ixfe = undefined;
18070 if(typeof $cptable !== 'undefined') str = $cptable.utils.decode(65001, char_codes(str));
19005 if(!cell || (cell.v == undefined && cell.f == undefined)) return "";
19746 if(country !== undefined) wb.Metadata.Country = country;
21597 …if(typeof console != "undefined" && console.error) console.error("Worksheet '" + wb.SheetNames[i] …
21801 if(o.z === undefined && z != null) o.z = z;
22133 if(typeof JSON !== 'undefined') JSON.stringify(sheetag);
23116 if (typeof Uint8Array == "undefined")
23118 if (typeof Uint8Array.prototype.subarray == "undefined")
23120 if (typeof Buffer !== "undefined") {
23121 if (typeof Buffer.prototype.subarray == "undefined")
23136 return typeof TextDecoder != "undefined" ? new TextDecoder().decode(u8) : utf8read(a2s(u8));
23139 return typeof TextEncoder != "undefined" ? new TextEncoder().encode(str) : s2a(utf8write(str));
25027 if(opts[d[0]] === undefined) opts[d[0]] = d[1];
25138 …if(typeof Uint8Array == "undefined") throw new Error('NUMBERS file parsing requires Uint8Array sup…
25139 if(typeof parse_numbers_iwa != "undefined") {
25156 …if(typeof Bun !== "undefined" && Buffer.isBuffer(index_zip.content)) return readSync(new Uint8Arra…
25222 if(opts.bookSheets && typeof sheets !== 'undefined') out.SheetNames = sheets;
25364 …if(einfo[0] == 0x04 && typeof decrypt_agile !== 'undefined') return decrypt_agile(einfo[1], data.c…
25367 …if(einfo[0] == 0x02 && typeof decrypt_std76 !== 'undefined') return decrypt_std76(einfo[1], data.c…
25668 default: throw new Error("Unrecognized type " + (o && o.type || "undefined"));
25713 …d = typeof $cptable !== "undefined" ? $cptable.utils.decode(1200, d.slice(2), 'str') : utf16leread…
25730 …if(o.codepage && typeof $cptable === "undefined") console.error("Codepage tables are not loaded. …
25731 …if(typeof ArrayBuffer !== 'undefined' && data instanceof ArrayBuffer) return readSync(new Uint8Arr…
25732 …if(typeof Uint8Array !== 'undefined' && data instanceof Uint8Array && !o.type) o.type = typeof Den…
25738 …? "buffer" : "binary"; d = read_binary(data); if(typeof Uint8Array !== 'undefined' && !has_buf) o.…
25740 … == 'array' && typeof Uint8Array !== 'undefined' && data instanceof Uint8Array && typeof ArrayBuff…
25818 var ftype = has_buf ? "nodebuffer" : (typeof Uint8Array !== "undefined" ? "array" : "string");
25830 if(typeof Deno !== "undefined") {
25837 …if(o.password && typeof encrypt_agile !== 'undefined') return write_cfb_ctr(encrypt_agile(out, o.p…
25859 else if(typeof TextEncoder !== "undefined") return new TextEncoder().encode(o);
26005 if(val === undefined || val.t === undefined) {
26006 if(defval === undefined) continue;
26020 else if(defval !== undefined) row[hdr[C]] = defval;
26117 var FS = o.FS !== undefined ? o.FS : ",", fs = FS.charCodeAt(0);
26118 var RS = o.RS !== undefined ? o.RS : "\n", rs = RS.charCodeAt(0);
26140 if(typeof $cptable == 'undefined' || opts.type == 'string') return s;
26158 if(x === undefined) continue;
26169 else if(x.w !== undefined) val = "'" + x.w;
26170 else if(x.v === undefined) continue;
26288 …if(!name) for(; i <= 0xFFFF; ++i, name = undefined) if(wb.SheetNames.indexOf(name = "Sheet" + i) =…
26416 var FS = o.FS !== undefined ? o.FS : ",", fs = FS.charCodeAt(0);
26417 var RS = o.RS !== undefined ? o.RS : "\n", rs = RS.charCodeAt(0);