isType<T> function
/////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////// Returns a EskValidator that checks if the given value is the correct type
Implementation
// Built in types
//////////////////////////////////////////////////////////////////////////////////
/// Returns a [EskValidator] that checks if the given value is the correct type
IEskValidator isType<T>() => validator((value) => value is T, (value) => T.toString());