Skip to contents

Check if an argument is a Nano ID string

Usage

is_nanoid(x)

Arguments

x

(any)
Object to check.

Value

TRUE if x is a valid Nano ID string, FALSE otherwise.

Examples

is_nanoid("V1StGXR8_Z5jdHi6B-myT")
#> [1] TRUE