isSymbol function

IValidator isSymbol()

Returns a IValidator that checks if the given value is a Symbol For better performance and readability, use the $isSymbol variable directly.

Implementation

IValidator isSymbol() => isType<Symbol>();