Check if index symbol is valid.

nse_index_valid(index_code)

Arguments

index_code

Symbol of the index.

Examples

# \donttest{ nse_index_valid("nifty auto")
#> [1] TRUE
nse_index_valid("nifty cps")
#> [1] FALSE
# }