Skip to contents

Checks the validity of provided players argument

Usage

playersIsValid(players)

Arguments

players

argument to check

Value

TRUE if valid argument, FALSE otherwise

Examples

playersIsValid(players="goalies") # TRUE
#> Error in playersIsValid(players = "goalies"): could not find function "playersIsValid"
playersIsValid(players="Skate") # FALSE
#> Error in playersIsValid(players = "Skate"): could not find function "playersIsValid"