ducjs - v4.4.2
    Preparing search index...

    Function isValidString

    • Validates a string value. Returns the string if valid, otherwise returns the provided defaultValue or an empty string.

      Parameters

      • value: any
      • defaultValue: string = ""

      Returns string