UNPKG

@thisisagile/easy

Version:

Straightforward library for building domain-driven microservice architectures

5 lines (4 loc) 270 B
import { Identity } from './Identity'; export declare const isA: <T>(t?: unknown, ...properties: (keyof T)[]) => t is T; export declare const isAn: <T>(t?: unknown, ...properties: (keyof T)[]) => t is T; export declare const isIdentity: (by: unknown) => by is Identity;