typir
Version:
General purpose type checking library
9 lines • 503 B
JavaScript
/******************************************************************************
* Copyright 2024 TypeFox GmbH
* This program and the accompanying materials are made available under the
* terms of the MIT License, which is available in the project root.
******************************************************************************/
export function isTypeEdge(edge) {
return typeof edge === 'object' && edge !== null && typeof edge.$relation === 'string';
}
//# sourceMappingURL=type-edge.js.map