Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/iam_policies/src/utils/getTag.ts>getTag

Iam policies implementation for create roles and manage permissions
Latest
function getTag
import { getTag } from "https://deno.land/x/iam_policies@v4.17.0/src/utils/getTag.ts";

Gets the toStringTag of value.

Examples

Example 1

getTag(1)
// => '[object Number]'

getTag(null)
// => '[object Null]'

Parameters

value: unknown

The value to query.

Returns

string

Returns the toStringTag.