We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c5445cb commit 63e3d7cCopy full SHA for 63e3d7c
src/app/shared/utils/license.utils.ts
@@ -8,12 +8,3 @@ export function parseCcCode(uri: string): string {
8
const matches = regex.exec(uri ?? '') ?? [];
9
return matches.length > 2 ? matches[2] : null;
10
}
11
-
12
-/**
13
- * Returns whether a URI denotes a valid URI for CC licenses.
14
- * @param uri
15
- * @returns true if the URI corresponds to a reconigzable CC license URI or false otherwise
16
- */
17
-export function isCcLicense(uri: string): boolean {
18
- return !!parseCcCode(uri);
19
-}
0 commit comments