You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

10 lines
285 B

import type { NextGraphUri } from "../types";
/**
* Checks if a provided string is a leaf URI
* @param uri - the string to check
* @returns true if the string is a leaf URI
*/
export function isNextGraphUri(uri: string): uri is NextGraphUri {
return uri.startsWith("did:ng");
}