Returns the element type of {@code type} if it is an array type, or null if it is not an array type.
{@code type}