@progress/kendo-angular-treeview
Version:
Kendo UI TreeView for Angular
10 lines (9 loc) • 549 B
JavaScript
/**-----------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
/**
* @hidden
* Performs the right-to-left function composition. Functions must have a unary.
*/
export const compose = (...args) => (data) => args.reduceRight((acc, curr) => curr(acc), data);