Skip to main content
Module

x/case_style/mod.ts>validate

A string validator and formater for case Style
Latest
function validate
import { validate } from "https://deno.land/x/case_style@0.1.0/mod.ts";

Validate the string into the caseStyle wanted

Parameters

str: string

String to validate

style: caseStyle

caseStyle to validate the string into

Returns

boolean