Please enable JavaScript.
Coggle requires JavaScript to display documents.
Haystack core, HVal - Coggle Diagram
Haystack core
-
Data types(kinds)
-
Scalar
-
Number
constructor(value: number, unit?: string | HUnit)
static make(value: NumberBaseType, unit?: string | HUnit): HNum
-
-
-
-
-
-
-
-
-
Ref
constructor(value: string | HaysonRef | HStr, displayName?: string
static make(value: RefBaseType, displayName?: string): HRef
-
-
-
-
-
-
Time
-
-
-
-
-
-
-
-
-
-
-
private static getTime(hours: number, minutes: number, seconds: number, milliseconds: number): string
-
-
XStr
-
-
constructor(type: string | HaysonXStr, value?: string)
-
-
-
-
Collections
-
List
-
static make<Value extends OptionalHVal = OptionalHVal>(...values: (Value | HaysonVal | (Value | HaysonVal)[] | HaysonList)[]): HList<Value>
-
set(index: number, value: Value | HaysonVal): this
-
-
-
-
insert(index: number, ...values: (Value | HaysonVal | (Value | HaysonVal)[] | HaysonList)[]): this
-
-
-
-
-
any(val: Value | string | Node, cx?: Partial<EvalContext>)
all(val: Value | string | Node, cx?: Partial<EvalContext>): boolean
filter(filter: string | Node | FilterCallback<Value>, cx?: Partial<EvalContext>): HList<Value>
-
Grid
constructor(arg?: GridObj<DictVal> | HaysonGrid | HVal |HaysonDict | DictVal)[], skipChecks = false )
-
-
-
-
remove(filter: number | string | Node, cx?: Partial<EvalContext>): DictVal[]
filter(filter: string | Node | ((row: DictVal, index: number) => boolean), cx?: Partial<EvalContext>): HGrid<DictVal>
-
filterBy(name: string, innerFilter: string | Node, cx?: Partial<EvalContext>): HGrid<DictVal>
-
any(filter: string | Node, cx?: Partial<EvalContext>): boolean
matches(filter: string | Node, cx?: Partial<EvalContext>): boolean
anyBy(name: string, innerFilter: string | Node, cx?: Partial<EvalContext>): boolean
all(filter: string | Node, cx?: Partial<EvalContext>): boolean
allBy(name: string, innerFilter: string | Node, cx?: Partial<EvalContext>): boolean
public map<U>(callback: (row: DictVal, index: number) => U): U[]
-
set(index: number, values: DictVal | HaysonDict): this
-
insert(index: number, ...rows: (DictVal[] | HaysonDict[] | DictVal | HaysonDict)[]): this
-
-
-
-
addColumn(name: string, meta?: HDict): GridColumn
-
-
setColumn(index: number, name: string, meta?: HDict): GridColumn
-
-
-
-
-
-
range(startOrQuantity: number, end?: number): this
-
-
-
-
-
-
-
-
-
-
-
HVal
-
-
matches(filter: string | Node, cx?: Partial<EvalContext>): boolean
-
-
-
-
-
-
-
-
-
-
-
-
-