Extracted from Pike v7.8 release 866 at 2016-11-06.
pike.ida.liu.se
[Top]
ADT
ADT.Sequence

Method ADT.Sequence()->cast()


Method cast

mixed cast(string type)

Description

Cast operator.

Parameter type

Casts to this type.

Casts to the following types are supported:

"array"

Cast the content of this sequence to an array.


Returns

An array with the contents of this sequence.