# GetFunctionCalledName()

Returns the name of variable used to call the current function

```
GetFunctionCalledName( );
```

**Returns:** string

*This function does not take any arguments.*

# Examples

```cfml
    yell = function (name){
     echo(name);
     dump(var=getFunctionCalledName(), label="Function was called as");
    };

    yell("yell");

    say = yell; // copy function
    say("say from ");

    yell = say; // copy function again
    yell("yell from say");
```







# Categories

[Lucee Server related Tags, Functions and Guides](../../categories/server.md)

# See Also

[GetBuiltInFunction()](getbuiltinfunction.md)