UNPKG

@connectv/core

Version:

agent-based reactive programming library for typescript/javascript

12 lines 343 B
import { Control } from '../pin/control'; import { isAgentLike } from './agent-like'; /** * * @param whatever * @returns `true` if `whatever` is `NodeLike` * */ export function isNodeLike(whatever) { return whatever !== undefined && whatever.control instanceof Control && isAgentLike(whatever); } //# sourceMappingURL=node-like.js.map