--- title: strings.isUpper() function description: The strings.isUpper() function tests if a single character string is uppercase. aliases: - /influxdb/v2.0/reference/flux/functions/strings/isupper/ - /influxdb/v2.0/reference/flux/stdlib/strings/isupper/ - /influxdb/cloud/reference/flux/stdlib/strings/isupper/ menu: flux_0_x_ref: name: strings.isUpper parent: strings weight: 301 flux/v0.x/tags: [tests] related: - /flux/v0.x/stdlib/strings/islower introduced: 0.18.0 --- The `strings.isUpper()` function tests if a single character string is uppercase. _**Output data type:** Boolean_ ```js import "strings" strings.isUpper(v: "A") // returns true ``` ## Parameters ### v {data-type="string"} The single-character string value to test. ## Examples ###### Filter by columns with single-letter uppercase values ```js import "strings" data |> filter(fn: (r) => strings.isUpper(v: r.host)) ```