Test whether the schema is a number type.