mirror of
				https://github.com/advplyr/audiobookshelf.git
				synced 2025-10-27 11:18:14 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			16 lines
		
	
	
		
			319 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			319 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
/*!
 | 
						|
 * is-primitive <https://github.com/jonschlinkert/is-primitive>
 | 
						|
 *
 | 
						|
 * Copyright (c) 2014-present, Jon Schlinkert.
 | 
						|
 * Released under the MIT License.
 | 
						|
 */
 | 
						|
 | 
						|
'use strict';
 | 
						|
 | 
						|
module.exports = function isPrimitive(val) {
 | 
						|
  if (typeof val === 'object') {
 | 
						|
    return val === null;
 | 
						|
  }
 | 
						|
  return typeof val !== 'function';
 | 
						|
};
 |