Syntax
Function.ScalarVector(scalarFunctionType as type, vectorFunction as function) as function
Description
Returns a scalar function of type scalarFunctionType that invokes vectorFunction with a single row of arguments and returns its single output. Additionally, when the scalar function is repeatedly applied for each row of a table of inputs, such as in Table.AddColumn, instead vectorFunction will be applied once for all inputs.
Reference Data
https://docs.microsoft.com/en-us/powerquery-m/power-query-m-function-reference