FOFLess::registerFunction

Register function