UNPKG

@promptbook/remote-server

Version:

Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action

16 lines (15 loc) 601 B
import type { string_url } from '../../../types/string_url'; 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 few similar functions: * - `isValidUrl` *(this one)* which tests any URL * - `isValidAgentUrl` which tests just agent URL * - `isValidPipelineUrl` which tests just pipeline URL * * @public exported from `@promptbook/utils` */ export declare function isValidUrl(url: really_unknown): url is string_url;