Follow

js の yup で BigInt 使うには、これでいいのかしら?

```
const yupBigIntSchema = yup.mixed((input): input is bigint => typeof input === 'bigint');

```

· · Web · 0 · 0 · 0
Sign in to participate in the conversation
Mastodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!