Properties
any
any: (test: (element: E) => boolean) => boolean
Type declaration
-
- (test: (element: E) => boolean): boolean
-
Parameters
-
test: (element: E) => boolean
-
-
Parameters
Returns boolean
Returns boolean
contains
contains: (element?: Object) => boolean
Type declaration
-
- (element?: Object): boolean
-
Parameters
Returns boolean
elementAt
elementAt: (index: number) => E
every
every: (test: (element: E) => boolean) => boolean
Type declaration
-
- (test: (element: E) => boolean): boolean
-
Parameters
-
test: (element: E) => boolean
-
-
Parameters
Returns boolean
Returns boolean
expand
Type declaration
-
-
Type parameters
Parameters
firstWhere
firstWhere: (test: (element: E) => boolean, props: { orElse?: () => undefined | E }) => E
Type declaration
-
- (test: (element: E) => boolean, props: { orElse?: () => undefined | E }): E
-
Parameters
-
test: (element: E) => boolean
-
-
Parameters
Returns boolean
-
props: { orElse?: () => undefined | E }
-
Optional orElse?: () => undefined | E
Returns E
fold
fold: <T>(initialValue: T, combine: (previousValue: T, element: E) => T) => T
Type declaration
-
- <T>(initialValue: T, combine: (previousValue: T, element: E) => T): T
-
Type parameters
Parameters
-
initialValue: T
-
combine: (previousValue: T, element: E) => T
-
- (previousValue: T, element: E): T
-
Parameters
-
previousValue: T
-
element: E
Returns T
Returns T
forEach
forEach: (f: (element: E) => void) => void
Type declaration
-
- (f: (element: E) => void): void
getFirst
getFirst: () => E
getHashCode
getHashCode: () => number
getIsEmpty
getIsEmpty: () => boolean
getIsNotEmpty
getIsNotEmpty: () => boolean
getLength
getLength: () => number
getSingle
getSingle: () => E
join
join: (separator: string) => string
Type declaration
-
- (separator: string): string
-
Parameters
Returns string
lastWhere
lastWhere: (test: (element: E) => boolean, props: { orElse?: () => undefined | E }) => E
Type declaration
-
- (test: (element: E) => boolean, props: { orElse?: () => undefined | E }): E
-
Parameters
-
test: (element: E) => boolean
-
-
Parameters
Returns boolean
-
props: { orElse?: () => undefined | E }
-
Optional orElse?: () => undefined | E
Returns E
map
Type declaration
-
-
Type parameters
Parameters
reduce
reduce: (combine: (value: E, element: E) => E) => E
Type declaration
-
- (combine: (value: E, element: E) => E): E
-
Parameters
-
combine: (value: E, element: E) => E
-
- (value: E, element: E): E
Returns E
singleWhere
singleWhere: (test: (element: E) => boolean, props: { orElse?: () => undefined | E }) => E
Type declaration
-
- (test: (element: E) => boolean, props: { orElse?: () => undefined | E }): E
-
Parameters
-
test: (element: E) => boolean
-
-
Parameters
Returns boolean
-
props: { orElse?: () => undefined | E }
-
Optional orElse?: () => undefined | E
Returns E
skipWhile
skip
While: (test: (value: E) => boolean) => IIterable<E>
Type declaration
-
-
Parameters
-
test: (value: E) => boolean
-
-
Parameters
Returns boolean
takeWhile
take
While: (test: (value: E) => boolean) => IIterable<E>
Type declaration
-
-
Parameters
-
test: (value: E) => boolean
-
-
Parameters
Returns boolean
toList
to
List: (props: { growable: boolean }) => IList<E>
Type declaration
-
- (props: { growable: boolean }): IList<E>
-
Parameters
-
props: { growable: boolean }
Returns IList<E>
toString
toString: () => string
where
where
: (test
: (element
: E) => boolean) => IIterable<E>
Type declaration
-
- (test: (element: E) => boolean): IIterable<E>
-
Parameters
-
test: (element: E) => boolean
-
-
Parameters
Returns boolean