is_sha256: Check if an argument is a SHA-256 hash string

View source: R/string.R

is_sha256R Documentation

Check if an argument is a SHA-256 hash string

Description

Check if an argument is a SHA-256 hash string

Usage

is_sha256(x)

Arguments

x

(any)
Object to check.

Value

TRUE if x is a valid SHA-256 hash string, FALSE otherwise.

Examples

is_sha256("e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855")

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