isSynID | R Documentation |
Identifies if its argument is a valid Synapse ID character string
isSynID(..., .with_version = FALSE)
... |
One or more Synapse IDs. Accepts individual IDs, vectors or lists. |
.with_version |
Allow an optional version suffix requesting a specific version (e.g. syn324.4) |
Logical values indicating whether each element of the input is a valid Synapse ID.
isSynID( "syn1234", "syn", "syn123ab", "syn123.5" ) # [1] TRUE FALSE FALSE FALSE isSynID( "syn1234", "syn", "syn123ab", "syn123.5", .with_version = TRUE ) # [1] TRUE FALSE FALSE TRUE isSynID( list( mtcars, 123, "syn123" ) ) # [1] FALSE FALSE TRUE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.