some
Last updated
Was this helpful?
Creates a Clarity optional some type, wrapping a Clarity value. Alias for someCV.
import { Cl } from '@stacks/transactions';
Cl.some(Cl.uint(100));
Cl.some(Cl.stringAscii('hello'));const some: (value: ClarityValue) => SomeCV;SomeCV
A Clarity some value object wrapping the provided value.
Type: ClarityValue
The Clarity value to wrap in the optional.
Last updated
Was this helpful?
Was this helpful?