/**
 * @since Last modified: 2024/05/08 12:38:49
 * @function isNull
 * @description Determines if a value is "null" or "undefined".
 * @param {*} data  - Can be any data
 * @returns {boolean}  - Return true or false
 * @see {@link https://codepen.io/axui/pen/BaEzzPZ|demo @ codepen}
 * @example
 * ax.isNull(undefined);
 * ax.isNull(null);
 * <!--return true-->
 */


'use strict';
const isNull = (data: any): boolean => [undefined,null,'undefined','null'].includes(data);
export default isNull;
