variable isSlugTaken

Check whether a slug is already used, optionally excluding one listing.

Usage

import { isSlugTaken } from "doc.ts";