UNPKG

@prismicio/client

Version:

The official JavaScript + TypeScript client library for Prismic

11 lines (10 loc) 349 B
/** * Determines if a string if a Prismic Rest API V2 endpoint. Note that any valid * URL is a valid endpoint to support network proxies. * * @param input - Input to test. * * @returns `true` if `input` is a valid Prismic Rest API V2 endpoint, `false` * otherwise. */ export declare const isRepositoryEndpoint: (input: string) => boolean;