¿Está vacío el hash?

Published by Helen Yu in

Escribe una función que devuelva true si un hash está vacío y false en caso contrario.

Ejemplos

is_empty({}) ➞ true

is_empty({ "a" => 1 }) ➞ false

Notas

N/A