docs-v2/content/flux/v0.x/stdlib/strings/islower.md

925 B

title description aliases menu weight flux/v0.x/tags related introduced
strings.isLower() function The strings.isLower() function tests if a single-character string is lowercase.
/influxdb/v2.0/reference/flux/functions/strings/islower/
/influxdb/v2.0/reference/flux/stdlib/strings/islower/
/influxdb/cloud/reference/flux/stdlib/strings/islower/
flux_0_x_ref
name parent
strings.isLower strings
301
tests
/flux/v0.x/stdlib/strings/isupper
0.18.0

The strings.isLower() function tests if a single-character string is lowercase.

Output data type: Boolean

import "strings"

strings.isLower(v: "a")

// returns true

Parameters

v

The single-character string value to test.

Examples

Filter by columns with single-letter lowercase values
import "strings"

data
    |> filter(fn: (r) => strings.isLower(v: r.host))