macro_rules! varray {
( $($value:expr,)+ ) => { ... };
( $($value:expr),* ) => { ... };
}
Expand description
Creates a sciter::Value
(of array type) containing the arguments.
Example
let v: sciter::Value = varray![1, 2.0, "three"];
assert!(v.is_array());
assert_eq!(v.len(), 3);