title |
---|
Types |
import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem';
<Tabs defaultValue="signature" values={[ {label: 'Signature', value: 'signature'}, {label: 'Example', value: 'example'}, ]}
(value Any) | to-bi | (y BigInt)
88 to-bi => 88n
Coerces any value
to BigInt.
<Tabs defaultValue="signature" values={[ {label: 'Signature', value: 'signature'}, {label: 'Example', value: 'example'}, ]}
(value Any) | to-float | (y Float)
88 to-float => 88.0
Coerces any value
to Float.
<Tabs defaultValue="signature" values={[ {label: 'Signature', value: 'signature'}, {label: 'Example', value: 'example'}, ]}
(value Any) | to-int | (y Int)
"99" to-int => 99
Coerces any value
to Int.
<Tabs defaultValue="signature" values={[ {label: 'Signature', value: 'signature'}, {label: 'Example', value: 'example'}, ]}
(value Any) | to-string | (y String)
88 to-string => "88"
Coerces any value
to String.