PrismUtil
Unofficial
Prism utility functions.
Import:
import type { PrismUtil } from '@obsidian-typings/obsidian-catalyst-latest';Signature:
export interface PrismUtilMethods
| Method | Returns | Description | |
|---|---|---|---|
| clone(o) | T | Deep clones an object. | |
| encode(tokens) | PrismTokenStream | Encodes tokens by replacing special HTML characters. | |
| objId(obj) | number | Returns a unique identifier for the given object. | |
| type(o) | string | Returns the type of the given value as a string. |
Links to this page: