I was wondering which language to use when it comes to a function that takes a particular object, acts on it and returns something else. Clearly, these are functions, but I was wondering if there is a more specific term.
Some examples of Python built-in functions that meet this specification are: "len", "dir", "vars"
I thought it was a "predicate", but it seems to be specific to functions that return a boolean.
source
share