Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MapDownlinkRecord

Hierarchy

Implements

Index

Constructors

constructor

Accessors

downlink

key

length

  • get length(): number

Methods

alias

  • alias(): void

and

appended

attr

bind

bindOutput

  • bindOutput(output: Inlet<Record>): void

bitwiseAnd

bitwiseNot

bitwiseOr

bitwiseXor

body

booleanValue

  • booleanValue(): boolean | undefined
  • booleanValue<T>(orElse: T): boolean | T

branch

cast

  • cast<T>(form: Form<T, unknown>): T | undefined
  • cast<T, E>(form: Form<T, unknown>, orElse: E): T | E

clear

  • clear(): void

clone

coerce

  • coerce<T>(form: Form<T, unknown>): T
  • coerce<T, E>(form: Form<T, unknown>, orElse: E): T | E

commit

  • commit(): this

compareTo

  • compareTo(that: Item): 0 | 1 | -1

concat

conditional

debug

delete

deleted

didClear

  • didClear(): void

didDrop

  • didDrop(lower: number): void

Protected didInvalidateInput

  • didInvalidateInput(): void

Protected didInvalidateInputKey

Protected didReconcileInput

  • didReconcileInput(version: number): void

Protected didReconcileInputKey

  • didReconcileInputKey(key: Value, effect: KeyEffect, version: number): void

didRemove

didTake

  • didTake(upper: number): void

didUpdate

disconnectInputs

  • disconnectInputs(): void

disconnectOutputs

  • disconnectOutputs(): void

display

  • display(output: Output): void

divide

eq

equals

  • equals(that: unknown): boolean

evaluate

fieldCount

  • fieldCount(): number

filter

flattened

  • Returns the sole member of this Record, if this Record has exactly one member, and its member is a Value; returns Extant if this Record is empty; otherwise returns this if this Record has more than one member.

    Used to convert a unary Record into its member Value. Facilitates writing code that treats a unary Record equivalently to a bare Value.

    Returns Value

forEach

  • forEach<T, S>(callback: (this: S, item: Item, index: number) => T | void, thisArg?: S): T | undefined

ge

get

getAttr

getField

getItem

getSlot

gt

has

hasOwn

hashCode

  • hashCode(): number

head

header

  • header(tag: string): Value
  • Returns the value of the first member of this Record, if the first member is an Attr whose key string is equal to tag; otherwise returns Absent if the first member of this Record is not an Attr, or if the first member of this Record is an Attr whose key does not equal the tag.

    Used to conditionally get the value of the head Attr of a structure, if and only if the key string of the head Attr is equal to the tag. Can be used to check if a structure might conform to a nominal type named tag, while simultaneously getting the value of the tag attribute.

    Parameters

    • tag: string

    Returns Value

headers

  • headers(tag: string): Record | undefined

indexOf

  • indexOf(item: AnyItem, index?: number): number

invalidateInput

  • invalidateInput(): void

invalidateInputKey

inverse

invoke

isAliased

  • isAliased(): boolean

isArray

  • isArray(): boolean

isConstant

  • isConstant(): boolean

isDefined

  • isDefined(): boolean

isDistinct

  • isDistinct(): boolean

isEmpty

  • isEmpty(): boolean

isMutable

  • isMutable(): boolean

isObject

  • isObject(): boolean

item

items

iterator

keyEquals

  • keyEquals(key: unknown): boolean

keyIterator

lambda

lastIndexOf

  • lastIndexOf(item: AnyItem, index?: undefined | number): number

le

lt

map

max

memoize

min

minus

modulo

ne

negative

not

numberValue

  • numberValue(): number | undefined
  • numberValue<T>(orElse: T): number | T

Protected onInvalidateInput

  • onInvalidateInput(): void

Protected onInvalidateInputKey

Protected onReconcileInput

  • onReconcileInput(version: number): void

Protected onReconcileInputKey

  • onReconcileInputKey(key: Value, effect: KeyEffect, version: number): void

or

outlet

outputIterator

plus

positive

prepended

push

  • push(...newItems: AnyItem[]): number

reconcileInput

  • reconcileInput(version: number): void

reconcileInputKey

  • reconcileInputKey(key: Value, version: number): void

reduce

  • reduce<U>(identity: U, accumulator: (result: U, element: Value) => U, combiner: (result: U, result2: U) => U): Outlet<U>

set

setAttr

setItem

  • setItem(index: number, newItem: AnyItem): this

setSlot

slice

  • slice(lower?: undefined | number, upper?: undefined | number): Record

slot

splice

  • splice(start: number, deleteCount?: undefined | number, ...newItems: AnyItem[]): Item[]

streamletContext

streamletScope

stringValue

  • stringValue(): string | undefined
  • stringValue<T>(orElse: T): string | T

subRecord

  • subRecord(lower?: undefined | number, upper?: undefined | number): Record

substitute

tag

  • tag(): string | undefined
  • Returns the key string of the first member of this Record, if the first member is an Attr; otherwise returns undefined if the first member is not an Attr.

    Used to concisely get the name of the discriminating attribute of a structure. The tag can be used to discern the nominal type of a polymorphic structure, similar to an XML element tag.

    Returns string | undefined

tail

target

times

toAny

toArray

toObject

  • toObject(): {}

toRecon

  • toRecon(): string

toReconBlock

  • toReconBlock(): string

toString

  • toString(): string

toValue

typeOrder

  • typeOrder(): number

unbindOutput

  • unbindOutput(output: Inlet<Record>): void

unbindOutputs

  • unbindOutputs(): void

unflattened

updated

updatedAttr

updatedSlot

valueCount

  • valueCount(): number

watch

Protected willInvalidateInput

  • willInvalidateInput(): void

Protected willInvalidateInputKey

Protected willReconcileInput

  • willReconcileInput(version: number): void

Protected willReconcileInputKey

  • willReconcileInputKey(key: Value, effect: KeyEffect, version: number): void

Static absent

Static builder

Static create

  • create(initialCapacity?: undefined | number): Record

Static empty

Static extant

Static fromAny

Static fromArray

  • fromArray(array: { length?: undefined | number }): Record

Static fromObject

  • fromObject(object: {}): Record

Static globalScope

  • globalScope(): Item

Static of

Static parseRecon

  • parseRecon(recon: string): Value