Skip to content

isStringOrStringClass

@tsed/core

Usage

typescript
import { isStringOrStringClass } from "@tsed/core";

See /packages/core/src/utils/isString.ts.

Overview

ts
function isStringOrStringClass(target: any): target is string;

Description

Checks if a value is a string primitive, String object, or the String constructor.

Released under the MIT License.