Method Syntax in a .c3typ file

PHOTO EMBED

Wed Nov 09 2022 21:51:33 GMT+0000 (Coordinated Universal Time)

Saved by @hcflores

    // A method for this type. Takes 2 inputs and has 2 outputs.
    // implemented in JavaScript and run on the server
    myMethodA: function(myInputA: string, myInputB: double): double, double js server

    // A method for this type. Takes no inputs and has 1 output.
    myMethodB: function(): double js server
content_copyCOPY