delete()

Learn: User-defined functions

We recommend you use FSL to create and update user-defined functions (UDFs). See Function schema.

Delete a user-defined function (UDF).

Signature

delete(): NullFunctionDef

Description

The delete() method deletes the function.

Parameters

None

Return value

Type Description

NullFunctionDef

Function deleted.

Examples

Function.byName("triple")!.delete()
Function.byName("triple") /* not found */

Is this article helpful? 

Tell Fauna how the article can be improved:
Visit Fauna's forums or email docs@fauna.com

Thank you for your feedback!