strings.isLower() function

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

*Output data type: Boolean*

  1. import "strings"
  2. strings.isLower(v: "a")
  3. // returns true

Parameters

v

The single-character string value to test.

*Data type: String*

Examples

Filter by columns with single-letter lowercase values
  1. import "strings"
  2. data
  3. |> filter(fn: (r) => strings.isLower(v: r.host))

Related articles