List.TransformMany

语法

List.TransformMany(list as list, collectionTransform as function, resultTransform as function) as list

关于

返回一个列表,其元素是基于输入列表投射而来的。 将 collectionTransform 函数应用到每个元素,并调用 resultTransform 函数来构造结果列表。 collectionTransform 具有签名 (x as any) as list => ... ,其中 xlist 中的一个元素。 resultTransform 投射结果的形状并具有签名 (x as any, y as any) as any => ...,其中 xlist 中的元素,y 是通过将 collectionTransform 应用到该元素获得的元素。

results matching ""

    No results matching ""