TenantAtlas/apps/platform/.pnpm-store/v10/files/8a/d2b00e0239ad00affcaf4120f5867c379526356e972085adc819cd32871ddc62ed0d461241e8d12bbff738afd6d6dc5478ecd65b9cbcbddc1f04073b9b921e
Ahmed Darrazi 9f74f7a658
Some checks failed
PR Fast Feedback / fast-feedback (pull_request) Failing after 51s
feat: compress governance operator outcomes
2026-04-19 14:15:11 +02:00

15 lines
444 B
Plaintext

'use strict';
/**
* Create a bound version of a function with a specified `this` context
*
* @param {Function} fn - The function to bind
* @param {*} thisArg - The value to be passed as the `this` parameter
* @returns {Function} A new function that will call the original function with the specified `this` context
*/
export default function bind(fn, thisArg) {
return function wrap() {
return fn.apply(thisArg, arguments);
};
}