function isCurrentYear( value ) {
	if ( isDateObject( value ) ) {
		return value.getFullYear() === currentYear();
	}
	return ( value === currentYear() );
}
Tests if a value is either an integer equal to the current year or a `Date` object representing the current year.

@param {*} value - value to test
@returns {boolean} boolean indicating whether a provided value is the current year

@example
var bool = isCurrentYear( new Date() );
// returns true

@example
var currentYear = require( '@stdlib/time/current-year' );
var bool = isCurrentYear( currentYear() );
// returns true

@example
var bool = isCurrentYear( 2021 );
// returns false

@example
var bool = isCurrentYear( null );
// returns false