Options
All
  • Public
  • Public/Protected
  • All
Menu

Module isString

Index

References

Functions Lang

References

Renames and re-exports __type

Lang Functions

  • isString(value: any): value is string
  • Checks if value is classified as a String primitive or object.

    since

    0.1.0

    example
    isString('abc')
    // => true

    isString(1)
    // => false

    Parameters

    • value: any

      The value to check.

    Returns value is string

    Returns true if value is a string, else false.