MCPcopy Create free account
hub / github.com/ICBNetwork/web3-Wallet / applyTransforms

Function applyTransforms

ses.cjs:5942–5947  ·  view source on GitHub ↗
(source, transforms)

Source from the content-addressed store, hash-verified

5940 * @returns {string}
5941 */$h‍_once.mandatoryTransforms(mandatoryTransforms);
5942const applyTransforms= (source, transforms)=> {
5943 for( const transform of transforms) {
5944 source= transform(source);
5945 }
5946 return source;
5947 };
5948
5949// export all as a frozen object
5950$h‍_once.applyTransforms(applyTransforms);const transforms=freeze({

Callers 1

safeEvaluateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected