View source

class thx.ArrayStrings

import thx.Arrays;

Available on all platforms

Helper class for Array<String>.

Class Fields

static function compact(arr:ReadonlyArray<String>):Array<String>

Filters out all null or empty strings in the array

static function max(arr:ReadonlyArray<String>):Null<String>

Finds the max string element in the array.

static function min(arr:ReadonlyArray<String>):Null<String>

Finds the min string element in the array.

Toggle inherited fields