isValidUrlFieldValue
isValidUrlFieldValue(
value):boolean
Defined in: packages/core/src/fields/url/inputSchema.ts:23
Checks whether a URL field value is acceptable: either a site-relative
path (SITE_RELATIVE_PATH_PATTERN) or an absolute URL accepted by
z.url().
Parameters
Section titled “Parameters”string
The candidate value.
Returns
Section titled “Returns”boolean
true when value is a site-relative path or a valid absolute URL.