function isAttachmentUrl
isAttachmentUrl(url: string): boolean

Checks whether url is an attachment's, with no query yet.

Parameters

url: string

Return Type

boolean

Usage

import { isAttachmentUrl } from "shared/attachment.ts";