Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
.filter((d) => !isUndefined(d));
.filter((d) => !util_1.isUndefined(d));
if (!util_1.hasLength(bulk)) {
private checkQueryObjectParam(
cond: keyof RequestQueryBuilderOptions['paramNamesMap'],
defaults: any,
): string {
const param = this.paramNames[cond];
if (isNil(this.queryObject[param]) && !isUndefined(defaults)) {
this.queryObject[param] = defaults;
}
return param;
}
.filter((d) => !isUndefined(d));