API Reference
classes
Literal

@perspect3vism/ad4m / Exports / Literal

Class: Literal

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new Literal()

Properties

#literal

Private Optional #literal: any

Defined in

Literal.ts:10 (opens in a new tab)


#url

Private Optional #url: string

Defined in

Literal.ts:11 (opens in a new tab)

Methods

get

get(): any

Returns

any

Defined in

Literal.ts:49 (opens in a new tab)


toUrl

toUrl(): string

Returns

string

Defined in

Literal.ts:27 (opens in a new tab)


from

Static from(literal): Literal

Parameters

NameType
literalany

Returns

Literal

Defined in

Literal.ts:21 (opens in a new tab)


fromUrl

Static fromUrl(url): Literal

Parameters

NameType
urlstring

Returns

Literal

Defined in

Literal.ts:13 (opens in a new tab)