@thisisagile/easy
Version:
Straightforward library for building domain-driven microservice architectures
1 lines • 327 B
Source Map (JSON)
{"version":3,"sources":["../../src/types/Indexed.ts"],"sourcesContent":["import { isA } from './IsA';\n\nexport type Indexed<T> = T & { index: number };\n\nexport const isIndexed = <T>(u: unknown): u is Indexed<T> => isA<Indexed<T>>(u, 'index');\n"],"mappings":";;;;;;;;;;AAIO,IAAM,YAAY,CAAI,MAAgC,IAAgB,GAAG,OAAO;","names":[]}