Options
All
  • Public
  • Public/Protected
  • All
Menu

Module not

Index

References

Functions

References

Renames and re-exports not

Functions

  • not(val: any): boolean
  • A function that returns the ! of its argument. It will return true when passed false-y value, and false when passed a truth-y one.

    example
     not(true); //=> false
    not(false); //=> true
    not(0); //=> true
    not(1); //=> false

    Parameters

    • val: any

      any value

    Returns boolean

    the logical inverse of passed argument.

Generated using TypeDoc