IBM Cloud Code Engine: Create a function