Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

216 B
Raw Blame
import type { NavigatorTreeNode, NodeType } from "./types";

export const isTypedNode = <T extends NodeType>(
  node: NavigatorTreeNode,
  type: T
): node is NavigatorTreeNode<T> => {
  return node.type === type;
};