Documentation

strings.isUpper() function

strings.isUpper() tests if a single character string is uppercase.

Function type signature
(v: string) => bool
For more information, see Function type signatures.

Parameters

v

(Required) 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._value))

View example input and ouput


Was this page helpful?

Thank you for your feedback!


Upgrade to InfluxDB Cloud or InfluxDB 2.0!

InfluxDB Cloud and InfluxDB OSS 2.0 ready for production.