Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "IsJSON"

Index

Functions

Functions

isJSON

  • isJSON(value: string): boolean
  • Checks if the string is valid JSON (note: uses JSON.parse). If given value is not a string, then it returns false.

    Parameters

    • value: string

    Returns boolean

Generated using TypeDoc