is_steam64.RdChecks if a given string can be parsed as a Steam ID. Functions are defined for ID64, Steam2, Steam3, and vanity IDs.
is_steam64(x)
is_steam2(x)
is_steam3(x)
is_vanity(x)is_steam64 tests if a character string is a 64-bit representation
of a decimal number.
is_steam2 and is_steam3 test if x follows the
string format of textual Steam ID representations as described
here.
is_vanity returns TRUE, if all other functions return
FALSE.
if (FALSE) { # \dontrun{
is_steam64("76561197984981409", "12345") # TRUE, FALSE
is_steam2("STEAM_1:1:12357840", "STEAM_5:6:123") # TRUE, FALSE
is_steam3("[U:1:24715681]", "U:4:1234") # TRUE, FALSE
is_vanity("12345", "76561197984981409") # TRUE, FALSE
} # }