is_base64: Check if an argument is a base64 string

View source: R/string.R

is_base64R Documentation

Check if an argument is a base64 string

Description

Check if an argument is a base64 string

Usage

is_base64(x)

Arguments

x

(any)
Object to check.

Value

TRUE if x is a valid non-empty base64 string, FALSE otherwise.

Examples

is_base64("SGVsbG8gV29ybGQ=")

checkstring documentation built on Sept. 28, 2026, 5:07 p.m.