import * as Option from 'effect/Option';
import * as SchemaAST from 'effect/SchemaAST';
import { RelationSymbol } from '../constants.js';
export const isRelation = ast => {
  return SchemaAST.getAnnotation(RelationSymbol)(ast).pipe(Option.getOrElse(() => false));
};
//# sourceMappingURL=isRelation.js.map