Options
All
  • Public
  • Public/Protected
  • All
Menu

Module is/function

Index

References

Functions

References

Renames and re-exports isFunction

Functions

  • isFunction(test: any): test is Func<any>
  • Checks if test is function.

    example
     isFunction(() => {}); //=> true
    isFunction(null); //=> false

    Parameters

    • test: any

      The value to check.

    Returns test is Func<any>

    Returns true if test is function, else false.

Generated using TypeDoc