is_bic: Check if an argument is a BIC/SWIFT code string

View source: R/id.R

is_bicR Documentation

Check if an argument is a BIC/SWIFT code string

Description

Check if an argument is a BIC/SWIFT code string

Usage

is_bic(x)

Arguments

x

(any)
Object to check.

Value

TRUE if x is a valid BIC/SWIFT code string, FALSE otherwise.

References

https://en.wikipedia.org/wiki/ISO_9362 https://knowledge.xmldation.com/support/iso20022/general_rules/bic

Examples

is_bic("DEUTDEFF")

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