Create function

Creates a new custom function in the workspace.