Skip to main content
Module

x/cav/util.ts>cx

A server framework for Deno
Go to Latest
function cx
import { cx } from "https://deno.land/x/cav@0.2.0-alpha.5/util.ts";

Filters out any non-string or empty string arguments and joins them together to create a class list for an HTML element.

Parameters

...args: unknown[]

Returns

string