KADABRA API

LARA API

LARA Common Language API

(.js)
laraImport("lara.util.PredefinedStrings");

(.lara)
import lara.util.PredefinedStrings;

PredefinedStrings

Constructor

PredefinedStrings

new PredefinedStrings(name, strict)

Represents a set of predefined strings.

Parameters

name: any
strict: any

Instance Members

isValid

isValid(value)

Parameters

value: any

Returns

boolean - true if the given String is a valid value.

parse

parse()

test

test(value)

Parameters

value: any

values

values()

Returns

String[] - Available values.