Logo GenPRES

LimitTarget Module

Returns the name of a limit target and tells whether a limit target is the orderable, a component or a substance.

Functions and values

Function or value Description

componentTargetToString _arg1

Full Usage: componentTargetToString _arg1

Parameters:
Returns: string

Returns the component name of a component target, or an empty string for any other target.

_arg1 : LimitTarget
Returns: string

isComponentTarget target

Full Usage: isComponentTarget target

Parameters:
Returns: bool

Checks whether the target is a component.

target : LimitTarget
Returns: bool

isOrderableTarget target

Full Usage: isOrderableTarget target

Parameters:
Returns: bool

Checks whether the target is the orderable.

target : LimitTarget
Returns: bool

isSubstanceTarget target

Full Usage: isSubstanceTarget target

Parameters:
Returns: bool

Checks whether the target is a substance.

target : LimitTarget
Returns: bool

substanceTargetToString _arg1

Full Usage: substanceTargetToString _arg1

Parameters:
Returns: string

Returns the substance name of a substance target, or an empty string for any other target.

_arg1 : LimitTarget
Returns: string

toString _arg1

Full Usage: toString _arg1

Parameters:
Returns: string

Returns the name of a component or substance target, or an empty string for any other target.

_arg1 : LimitTarget
Returns: string

Type something to start searching.