menu
From
import { From } from "destack:convert";
Infallible conversion from T.
1export newtype interface From<T> {2 static from(value: T): this;3}Members
static from(value: T): thisConvert
value.
import { From } from "destack:convert";
Infallible conversion from T.
1export newtype interface From<T> {2 static from(value: T): this;3}static from(value: T): thisConvert value.