createFunction

Creates a Function object.

A function is a reusable entity. You can use multiple functions to compose the resolver logic.