This following function valid_row? (which is formatted automatically by mix) is not included in funky.
defmodule M do
def valid_row?(
%{
"PHONE" => phone,
"TOTAL" => total,
"STATUS" => status
} = _row
) do
String.length(phone) >= 10 &&
total > 1000 &&
status == 'DONE'
end
end
Replacing \. with \_. to match any single character including newline, this will include the above function.
This following function
valid_row?
(which is formatted automatically bymix
) is not included in funky.Replacing
\.
with\_.
to match any single character including newline, this will include the above function.Please help to review it. Thanks.