mazey
    Preparing search index...

    Function isUdfOrNul

    • Verify the validity of a value.

      Usage:

      import { isUdfOrNul } from "mazey";

      const ret1 = isUdfOrNul(undefined);
      const ret2 = isUdfOrNul(null);
      const ret3 = isUdfOrNul("abc");
      console.log(ret1, ret2, ret3);

      Output:

      true true false
      

      Parameters

      • val: any

        The value to verify.

      Returns boolean

      Return TRUE if the object is undefined or null.