lincd
Version:
LINCD is a JavaScript library for building user interfaces with linked data (also known as 'structured data', or RDF)
13 lines (12 loc) • 364 B
TypeScript
export declare class URI {
/**
* Function: sanitize
* Returns a sanitized string, typically for URLs.
*
* Parameters:
* $string - The string to sanitize.
* $force_lowercase - Force the string to lowercase?
*/
static sanitize(string: any, force_lowercase?: boolean): any;
static isURI(uri: string): boolean;
}