content/flux/v0/stdlib/strings/islower.md
strings.isLower() tests if a single-character string is lowercase.
(v: string) => bool
{{% caption %}} For more information, see Function type signatures. {{% /caption %}}
({{< req >}}) Single-character string value to test.
import "strings"
data
|> filter(fn: (r) => strings.isLower(v: r._value))
{{< expand-wrapper >}} {{% expand "View example input and output" %}}
| _time | *tag | _value |
|---|---|---|
| 2022-01-01T00:00:00Z | t1 | a |
| 2022-01-01T00:01:00Z | t1 | B |
| 2022-01-01T00:02:00Z | t1 | C |
| 2022-01-01T00:03:00Z | t1 | d |
| 2022-01-01T00:04:00Z | t1 | e |
| _time | *tag | _value |
|---|---|---|
| 2022-01-01T00:00:00Z | t2 | F |
| 2022-01-01T00:01:00Z | t2 | g |
| 2022-01-01T00:02:00Z | t2 | H |
| 2022-01-01T00:03:00Z | t2 | i |
| 2022-01-01T00:04:00Z | t2 | J |
| _time | *tag | _value |
|---|---|---|
| 2022-01-01T00:00:00Z | t1 | a |
| 2022-01-01T00:03:00Z | t1 | d |
| 2022-01-01T00:04:00Z | t1 | e |
| _time | *tag | _value |
|---|---|---|
| 2022-01-01T00:01:00Z | t2 | g |
| 2022-01-01T00:03:00Z | t2 | i |
{{% /expand %}} {{< /expand-wrapper >}}