UNPKG

@thisisagile/easy

Version:

Straightforward library for building domain-driven microservice architectures

1 lines 324 B
{"version":3,"sources":["../src/types/Func.ts"],"sourcesContent":["export type Func<T, Args = unknown> = (...args: Args[]) => T;\n\nexport const isFunc = <T, Args>(o?: unknown): o is (...params: Args[]) => T => !!o && typeof o === 'function';\n"],"mappings":";AAEO,IAAM,SAAS,CAAU,MAA+C,CAAC,CAAC,KAAK,OAAO,MAAM;","names":[]}