src/Ranges.php
public static function typeEnum(...$allowedTypes): \Closure
	{
		return function ($value) use ($allowedTypes)
		{
			return in_array(gettype($value), $allowedTypes, true);
		};
	}
public static function typeEnum(...$allowedTypes): \Closure
	{
		return function ($value) use ($allowedTypes)
		{
			return in_array(gettype($value), $allowedTypes, true);
		};
	}
@param array ...$allowedTypes

@return \Closure