Checks if a string represents a boolean value.

  • Parameters

    • value: string

      The string to validate.

    • options: IsBooleanOptions = ...

      Validation options.

    Returns boolean

    true if the string is a valid boolean representation, false otherwise.