yajsapi - JavaScript high-level API
Yagna Contributor Guide

Class: Field

yajsapi / Exports / props/base / Field

Class: Field

props/base.Field

Hierarchy

  • Field

Table of contents

Constructors

Properties

Accessors

Methods

Constructors

constructor

  • new Field(__namedParameters?: { metadata?: undefined | object ; name?: undefined | string ; type?: undefined | object ; value?: any }): Field

Parameters:

__namedParameters: object

Name

Type

metadata?

undefined | object

name?

undefined | string

type?

undefined | object

value?

any

Returns: Field

Defined in: yajsapi/props/base.ts:27

Properties

_metadata

Private _metadata: any

Defined in: yajsapi/props/base.ts:25

_name

Private _name: any

Defined in: yajsapi/props/base.ts:26

_type

Private _type: any

Defined in: yajsapi/props/base.ts:27

_value

Private _value: any

Defined in: yajsapi/props/base.ts:24

Accessors

metadata

metadata(): any

Returns: any

Defined in: yajsapi/props/base.ts:52

name

name(): any

Returns: any

Defined in: yajsapi/props/base.ts:60

name(x: any): void

Parameters:

Name

Type

x

any

Returns: void

Defined in: yajsapi/props/base.ts:56

type

type(): any

Returns: any

Defined in: yajsapi/props/base.ts:64

value

value(): any

Returns: any

Defined in: yajsapi/props/base.ts:48

value(x: any): void

Parameters:

Name

Type

x

any

Returns: void

Defined in: yajsapi/props/base.ts:39

Methods

valueOf

valueOf(): any

Returns: any

Defined in: yajsapi/props/base.ts:68