function test( v ) {
	if ( !isFunction( v ) ) {
		return new TypeError( format( 'invalid assignment. `%s` must be a function. Value: `%s`.', 'scale', v ) );
	}
	return null;
}
Validates `scale`.

@private
@param {*} v - value to test
@returns {(Error|null)} error object or null