StepFlow.Map.replace_by_atom

You're seeing just the function replace_by_atom, go back to StepFlow.Map module for more information.
Link to this function

replace_by_atom(dict, atom, value)

View Source

Replace an item in a map, with atom or string keys.

Examples

iex> StepFlow.Map.replace_by_atom(%{key: "value"}, :key, "replaced_value")
%{key: "replaced_value"}

iex> StepFlow.Map.replace_by_atom(%{"key" => "value"}, :key, "replaced_value")
%{key: "replaced_value"}

iex> StepFlow.Map.replace_by_atom(%{"key" => "value"}, "key", "replaced_value")
%{key: "replaced_value"}