Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "IsSubString"

Index

Functions

Functions

isSubString

  • isSubString(value: string, target: string): boolean
  • Checks if the value is a substring of the seed. If given value is not a string, then it returns false.

    Parameters

    • value: string

      The value being checked.

    • target: string

      The target value to perform the check against.

    Returns boolean

    True if the value is a substring of the target, false otherwise.

Generated using TypeDoc