Options
All
  • Public
  • Public/Protected
  • All
Menu

Module is/string

Index

References

Functions

References

Renames and re-exports isString

Functions

  • isString(test: any): test is string
  • Checks if test is string.

    example
     isString('test');             //=> true
    isString(new String('test')); //=> true
    isString(null); //=> false

    Parameters

    • test: any

      The value to check.

    Returns test is string

    Returns true if value is string, else false.

Generated using TypeDoc