isSymbol function

IValidator isSymbol({
  1. String? message,
})

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({String? message}) => isType<Symbol>(message: message);