definition

Get the user-defined Function definition document.

Signature

<Function>.definition: <Document>

Description

The definition property returns the user-defined Function (UDF) document for the Function object.

Return value

Type Description

Function

Function document. See Function document definition.

Examples

Double.definition
{
  name: "Double",
  coll: Function,
  ts: "2023-04-22T13:19:08.080x",
  body: "(x) => x + x",
  role: "admin"
}

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!