Documentation

strings.isLetter() function

strings.isLetter() tests if a single character string is a letter (a-z, A-Z).

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

Parameters

v

(Required) Single-character string to test.

Examples

Filter by columns with digits as values

import "strings"

data
    |> filter(fn: (r) => strings.isLetter(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.