You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					17 lines
				
				565 B
			
		
		
			
		
	
	
					17 lines
				
				565 B
			| 
								 
											3 years ago
										 
									 | 
							
								var _tagTester = require('./_tagTester.js');
							 | 
						||
| 
								 | 
							
								var isFunction = require('./isFunction.js');
							 | 
						||
| 
								 | 
							
								var isArrayBuffer = require('./isArrayBuffer.js');
							 | 
						||
| 
								 | 
							
								var _stringTagBug = require('./_stringTagBug.js');
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								var isDataView = _tagTester('DataView');
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								// In IE 10 - Edge 13, we need a different heuristic
							 | 
						||
| 
								 | 
							
								// to determine whether an object is a `DataView`.
							 | 
						||
| 
								 | 
							
								function ie10IsDataView(obj) {
							 | 
						||
| 
								 | 
							
								  return obj != null && isFunction(obj.getInt8) && isArrayBuffer(obj.buffer);
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								var isDataView$1 = (_stringTagBug.hasStringTagBug ? ie10IsDataView : isDataView);
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								module.exports = isDataView$1;
							 |