MCPcopy Create free account
hub / github.com/arctic-cli/interface / iife

Function iife

packages/util/src/iife.ts:1–3  ·  view source on GitHub ↗
(fn: () => T)

Source from the content-addressed store, hash-verified

1export function iife<T>(fn: () => T) {
2 return fn()
3}

Callers

nothing calls this directly

Calls 1

fnFunction · 0.70

Tested by

no test coverage detected