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

x/cotton/src/utils/reflect.ts

SQL Database Toolkit for Deno
Latest
import * as cotton from "https://deno.land/x/cotton@v0.7.5/src/utils/reflect.ts";

Functions

Applies a set of decorators to a target object.

Define a unique metadata entry on the target.

Deletes the metadata entry from the target object with the provided key.

Gets the metadata value for the provided metadata key on the target object or its prototype chain.

Gets the metadata keys defined on the target object or its prototype chain.

Gets the metadata value for the provided metadata key on the target object.

Gets the unique metadata keys defined on the target object.

Gets a value indicating whether the target object or its prototype chain has the provided metadata key defined.

Gets a value indicating whether the target object has the provided metadata key defined.

A default metadata decorator factory that can be used on a class, class member, or parameter.