strings.isUpper() function
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.
Data type: String
Examples
Filter by columns with single-letter uppercase values
import "strings"
data
|> filter(fn: (r) => strings.isUpper(v: r.host))
Support and feedback
Thank you for being part of our community! We welcome and encourage your feedback and bug reports for InfluxDB and this documentation. To find support, the following resources are available:
InfluxDB Cloud and InfluxDB Enterprise customers can contact InfluxData Support.