Hash and types



examples/hashes/hash_and_types.cr
person = {
  "name"   => "Foo Bar",
  "number" => 42,
}
p! person
puts typeof(person) # Hash(String, Int32 | String)

person # => {"name" => "Foo Bar", "number" => 42}
Hash(String, Int32 | String)