urns
Version:
An RFC 8141 compliant URN library with some interesting type related functionality
10 lines (9 loc) • 299 B
TypeScript
import { FullURN } from "./types";
/**
* This is testing for equivalence as defined in Section 3 of RFC 8141
*
* @param a First URN
* @param b Second URN
* @returns boolean
*/
export declare function equivalent(a: FullURN<string, string, string>, b: FullURN<string, string, string>): boolean;