How to use the ramda-adjunct.isNull function in ramda-adjunct

To help you get started, we’ve selected a few ramda-adjunct examples, based on popular ways it is used in public projects.

github XGHeaven / nos-node-sdk / src / lib / util.ts View on Github external
export const isNullOrUndefined = (a: any) => isNull(a) || isUndefined(a)
export const compactObject = filter<any>(e => !isNullOrUndefined(e))