Skip to main content
Home

Built and signed on GitHub Actions

It is unknown whether this package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
It is unknown whether this package works with Cloudflare Workers
It is unknown whether this package works with Node.js
It is unknown whether this package works with Deno
It is unknown whether this package works with Bun
It is unknown whether this package works with Browsers
JSR Score
88%
Published
a year ago (0.0.4)
function getType
getType<T>(target: T): string

获取数据类型

Type Parameters

Parameters

target: T

目标数据

Return Type

string

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@wen/utils-test

Import symbol

import { getType } from "@wen/utils-test";
or

Import directly with a jsr specifier

import { getType } from "jsr:@wen/utils-test";

Add Package

pnpm i jsr:@wen/utils-test
or (using pnpm 10.8 or older)
pnpm dlx jsr add @wen/utils-test

Import symbol

import { getType } from "@wen/utils-test";

Add Package

yarn add jsr:@wen/utils-test
or (using Yarn 4.8 or older)
yarn dlx jsr add @wen/utils-test

Import symbol

import { getType } from "@wen/utils-test";

Add Package

npx jsr add @wen/utils-test

Import symbol

import { getType } from "@wen/utils-test";

Add Package

bunx jsr add @wen/utils-test

Import symbol

import { getType } from "@wen/utils-test";