UNPKG

@promptbook/remote-client

Version:

Promptbook: Turn your company's scattered knowledge into AI ready books

15 lines (14 loc) 554 B
import type { string_url } from '../../../types/typeAliases'; import type { really_unknown } from '../../organization/really_unknown'; /** * Tests if given string is valid URL. * * Note: [🔂] This function is idempotent. * Note: Dataurl are considered perfectly valid. * Note: There are two similar functions: * - `isValidUrl` which tests any URL * - `isValidPipelineUrl` *(this one)* which tests just promptbook URL * * @public exported from `@promptbook/utils` */ export declare function isValidUrl(url: really_unknown): url is string_url;