You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way to perform type validations for string, number, object, array, sequence, etc.?
So: isNumber(), isObject(), isArray(), etc. There are some already, e.g. isDate and isNumber and isInt, but there are not a complete set of these sort of validations.
I guess internally they would use typeof foo === "string" and so on.
The text was updated successfully, but these errors were encountered:
Is there a way to perform type validations for string, number, object, array, sequence, etc.?
So:
isNumber()
,isObject()
,isArray()
, etc. There are some already, e.g.isDate
andisNumber
andisInt
, but there are not a complete set of these sort of validations.I guess internally they would use
typeof foo === "string"
and so on.The text was updated successfully, but these errors were encountered: