book icon indicating copy to clipboard operation
book copied to clipboard

docs: "user-defined type guard"の英語表記を補足として追加

Open morihaya opened this issue 2 years ago • 1 comments

”この名称は英語としても長いらしく”と記述があるのに 肝心の英語の名称が表記されておらず気になってしまったため ”user-defined type guard”を補足として追記します

”user defined”か"user-defined"か迷いましたが以下を参照して後者を採用しました https://www.typescriptlang.org/docs/handbook/2/narrowing.html#using-type-predicates

To define a user-defined type guard, we simply need to define a function whose return type is a type predicate:

morihaya avatar Sep 22 '22 02:09 morihaya

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
book ✅ Ready (Inspect) Visit Preview Sep 22, 2022 at 2:53AM (UTC)

vercel[bot] avatar Sep 22 '22 02:09 vercel[bot]