Checks if a string is a float.

  • Parameters

    • value: string

      The string to validate.

    • options: IsFloatOptions = {}

      Validation options.

    Returns boolean

    true if the string is a valid float, false otherwise.