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