Skip to content

isPrimitive

@tsed/core

Usage

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

See /packages/core/src/types/utils/objects/isPrimitive.ts.

Overview

ts
function isPrimitive(target: any): boolean;

Description

Return true if the given obj is a primitive.

Released under the MIT License.