strings.isUpper() function

Warning! This page documents an earlier version of Flux, which is no longer actively developed. Flux v0.50 is the most recent stable version of Flux.

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))