class LeafTree<T>
undocumented
Implements: Tree<T,TS,TB,C>
Type parameters
Name | Description |
---|---|
T | undocumented |
Properties
context
undocumented
context
length
undocumented
length
middle
undocumented
middle
right
undocumented
right
Methods
_normalize
undocumented
_normalize
Definition
_normalize():
List.NonEmpty
<T>;
appendMiddle
undocumented
appendMiddle
concat
undocumented
concat
Definition
concat<T2>(...sources:
ArrayNonEmpty
<
StreamSource
<T2>>):
List.NonEmpty
<T
|
T2>;
Type parameters
Name | Description |
---|---|
T2 |
Parameters
Name | Type | Description |
---|---|---|
sources | ArrayNonEmpty < StreamSource <T2>> |
concatBlock
undocumented
concatBlock
Definition
concatBlock(other:
LeafBlock
<T>):
List.NonEmpty
<T>;
Parameters
Name | Type | Description |
---|---|---|
other | LeafBlock <T> |
concatTree
undocumented
concatTree
copy
undocumented
copy
copy2
undocumented
copy2
drop
undocumented
drop
forEach
undocumented
forEach
Definition
forEach(f: (value: T, index: number, halt: () => void) => void, options?: {
reversed?: boolean;
state?:
TraverseState
;
}): void;
Parameters
Name | Type | Description |
---|---|---|
f | (value: T, index: number, halt: () => void) => void | |
options | { reversed?: boolean; state?: TraverseState ; } |
get
undocumented
get
getChildLength
undocumented
getChildLength
map
undocumented
map
mapPure
undocumented
mapPure
prependMiddle
undocumented
prependMiddle
reversed
undocumented
reversed
stream
undocumented
stream
Definition
stream(options?: {
reversed?: boolean;
}):
Stream.NonEmpty
<T>;
Parameters
Name | Type | Description |
---|---|---|
options | { reversed?: boolean; } |
streamRange
undocumented
streamRange
take
undocumented
take
toArray
undocumented
toArray