UNPKG

@connectv/core

Version:

agent-based reactive programming library for typescript/javascript

27 lines (26 loc) 470 B
/** * * Denotes [signature](https://connective.dev/docs/agent#signature) of agents. * */ export interface Signature { /** * * names of the inputs of the agent * */ inputs?: string[]; /** * * names of the outputs of the agent * */ outputs: string[]; } /** * * @param whatever * @returns `true` if `whatever` is a `Signature`. * */ export declare function isSignature(whatever: any): whatever is Signature;