Options
All
  • Public
  • Public/Protected
  • All
Menu

Class EmbedField

Utils Embed Field Structure, used for [Embed] Structures

Hierarchy

Index

Constructors

constructor

Properties

_keys

_keys: BaseSet<string> = keysEmbedField

Optional inline

inline: undefined | false | true

name

name: string = ""

value

value: string = ""

Methods

[inspect.custom]

  • [inspect.custom](): object

_getFromSnake

  • _getFromSnake(key: string): any
  • Parameters

    • key: string

    Returns any

_setFromSnake

  • _setFromSnake(key: string, value: any): any
  • Parameters

    • key: string
    • value: any

    Returns any

difference

  • difference(key: string, value: any): [boolean, any]
  • Parameters

    • key: string
    • value: any

    Returns [boolean, any]

differences

merge

mergeValue

  • mergeValue(key: string, value: any): void
  • Parameters

    • key: string
    • value: any

    Returns void

toJSON

  • toJSON(): object
  • Returns object

Generated using TypeDoc