Sha256: e03b9c22663fa06623e2240720a58cfd0ec5ab88e62472d388a1106b71b0f7b4
Contents?: true
Size: 306 Bytes
Versions: 23
Compression:
Stored size: 306 Bytes
Contents
GraphQL::INT_TYPE = GraphQL::ScalarType.define do name "Int" description "Represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1." coerce_input -> (value) { value.is_a?(Numeric) ? value.to_i : nil } coerce_result -> (value) { value.to_i } end
Version data entries
23 entries across 23 versions & 1 rubygems