What are 'len', 'dir', 'vars' named?

Posted by johannix on Stack Overflow See other posts from Stack Overflow or by johannix
Published on 2010-04-15T18:53:05Z Indexed on 2010/04/15 19:03 UTC
Read the original article Hit count: 416

Filed under:
|

I was wondering what language to use when talking about a function that takes in a specific object, acts on it and returns something else. Clearly they're functions, but I was wondering if there's a more specific term.

A couple examples of Python built-in functions that fit this spec are: 'len', 'dir', 'vars'

I thought it was 'predicate', but apparently that's specific to functions that return a boolean value.

© Stack Overflow or respective owner

Related posts about computer-science

Related posts about python