Write a field to a hash but only if the field does not exist.
The key of the hash.
The name of the field.
The value to set.
True if the field was set, False if it already existed.
True
False
Was this page helpful?