We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
is
Reuse already created is given as an argument to reduce the code size of is for large interfaces.
Typia works without this, so I think it acceptable to have strict conditions.
typia.is<User>()
validators.user
_
$
import typia from "typia"; interface User { name: string; homepage: string; age: number; } interface Comment { author: User; content: string } interface Article { author: User; content: string; comments: Comment[] } const isUser = typia.createIs<User>(); const isComment = typia.createIs<Comment>(isUser); const isArticle = typia.createIs<Article>(isUser, isComment);
The text was updated successfully, but these errors were encountered:
I have no idea about this way. Would you challenge about this issue?
Sorry, something went wrong.
miyaji255
No branches or pull requests
Feature Request
Reuse already created
is
given as an argument to reduce the code size ofis
for large interfaces.Idea
Typia works without this, so I think it acceptable to have strict conditions.
ex:)
typia.is<User>()
,validators.user
_
,$
.Example
The text was updated successfully, but these errors were encountered: