INCLUDES
SourceINCLUDES checks whether a container includes a given value.
Argument | Type | Default value | Description |
haystack |
String Any[] Object Iterable |
The value container. | |
needle |
Any |
The target value to assert. |
Returns Boolean
A boolean value that indicates whether a container contains a given value.
LENGTH
SourceLENGTH returns the length of a measurable value.
Argument | Type | Default value | Description |
value |
Measurable |
The value to measure. |
Returns Int
The length of the value.
REVERSE
SourceREVERSE returns the reverse of a given string or array value.
Argument | Type | Default value | Description |
value |
String Any[] |
The string or array to reverse. |
Returns String
Any[]
A reversed version of a given value.