import { isFunction , isObject } from '../util/object-utils.js' ; import { OperationNode } from './operation-node.js' ; export interface OperationNodeSource { toOperationNode ( ) : OperationNode ; } export function isOperationNodeSource ( obj ) { return isObject ( obj ) && isFunction ( obj . toOperationNode ) ; }