Mwnci issubset() Function

Syntax

issubset(array, array)

Description

The issubset) function returns true if all items in the first array exists in the second array, otherwise it returns false.

Example

include("main")
x = ["a", "b", "c"]
y = ["f", "e", "d", "c", "b", "a"]
z = issubset(x, y)
a = x.issubset(y)
println(z)
println(a)

true
true