@n3okill/utils
Version:
Many javascript helpers
11 lines • 298 B
JavaScript
import { isNull } from "./isNull";
import { isUndefined } from "./isUndefined";
/**
* Check if argument is null or undefined
* @param arg
* @returns {boolean}
*/
export function isNullOrUndefined(arg) {
return isNull(arg) || isUndefined(arg);
}
//# sourceMappingURL=isNullOrUndefined.js.map