lodash-es APIs
- debounce
- uniqBy
- noop
- isEqual
- isArray
- cloneDeep
- mapValues
- merge
- uniq
- omit
- set
- get
- map
- throttle
- isEmpty
- isString
- pick
- clamp
- range
- isNil
- flatten
- keyBy
- clone
- sampleSize
- difference
- sortBy
- intersectionWith
- mergeWith
- pickBy
- identity
- isDate
- omitBy
- reject
- uniqWith
- differenceWith
- groupBy
- zip
- defaults
- times
- constant
- values
- isMap
- isNumber
- matches
- stubFalse
- stubTrue
- bind
- toPairs
- repeat
- compact
- inRange
- flatMap
- remove
- xorWith
- round
- shuffle
- reduce
- last
- padStart
- assign
- take
- lowerCase
- isObject
- find
- findIndex
- orderBy
- fromPairs
- mapKeys
- size
- isUndefined
- uniqueId
Other Related APIs
- rxjs#Subject
- rxjs#Observable
- rxjs#combineLatest
- rxjs#forkJoin
- rxjs#defer
- @angular/core#Injectable
- rxjs/operators#distinctUntilChanged
- rxjs/operators#map
- rxjs/operators#repeatWhen
- rxjs/operators#tap
- rxjs/operators#filter
- rxjs/operators#concatMap
- rxjs/operators#pluck
- rxjs/operators#concatMapTo
- @angular/common/http#HttpClient
- lodash-es#isEqual
lodash-es#reject TypeScript Examples
The following examples show how to use
lodash-es#reject.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: dia-backend-auth.service.ts From capture-lite with GNU General Public License v3.0 | 6 votes |
private async getToken() {
return new Promise<string>(resolve => {
this.preferences.getString(PrefKeys.TOKEN).then(token => {
if (token.length !== 0) {
resolve(token);
} else {
reject(new Error('Cannot get DIA backend token which is empty.'));
}
});
});
}