isTypeOrNull<T> function

IEskValidator isTypeOrNull<T>()

Returns a EskValidator that checks if the given value is the correct type

Implementation

IEskValidator isTypeOrNull<T>() => isType<T>() | isNull();