mirror of
https://github.com/fluencelabs/aqua-lib
synced 2024-12-04 23:30:22 +00:00
Add Op.array_length (#6)
This commit is contained in:
parent
4b6cbbc31e
commit
15953e92eb
@ -67,6 +67,8 @@ data Contact:
|
||||
service Op("op"):
|
||||
-- does nothing
|
||||
noop()
|
||||
-- returns length of the passed array
|
||||
array_length(array: []string) -> u32
|
||||
-- takes any number of arguments and wraps them into a single array
|
||||
array(a: string, b: ?string, c: ?string, d: ?string) -> []string
|
||||
-- takes any number of arrays and flattens them by concatenating
|
||||
|
Loading…
Reference in New Issue
Block a user