clearVariable()
Last updated 10/09/2024
Example
The following code clears the current order number when saving an order.
Clears a previously set order number using clearVariable()
function SaveOrder(five: Five, context: any, result: FiveError) : FiveError {
five.clearVariable('OrderNumber');
return five.success(result);
}
Clears a previously set order number using clearVariable()
function SaveOrder(five, context, result) {
five.clearVariable('OrderNumber');
return five.success(result);
}