typs.js
// checks if obj is an instance of the given class
checks if obj is an instance of the given class
checks if obj is an instance of the given class
instanceOf (class_func) {
		if (typs(class_func).func().doesntCheck()) {
			throw new Error('typs().instanceOf() expects a function class as its first parameter');
		}
		return this.add((obj) => {
			return obj instanceof class_func;
		});
	}
instanceOf ( class_func ) { if ( typs ( class_func ) . func ( ) . doesntCheck ( ) ) { throw new Error ( 'typs().instanceOf() expects a function class as its first parameter' ) ; } return this . add ( ( obj ) => { return obj instanceof class_func ; } ) ; }
checks if obj is an instance of the given class
checks if obj is an instance of the given class