Pings the CoinGecko API to check if the service is available

ping()

Value

Returns TRUE if the service is available and FALSE otherwise.

Details

This function has no arguments.

Examples

ifelse(ping(), "API is available", "API is not available")
#> [1] "API is available"