IsInput

This function evaluates whether there is an input value on the given slot at the given datetime.

Description

The input status of a slot at a given datetime.

Type

BOOLEAN

Arguments

Type

Meaning

1

SLOT

the series slot

2

DATETIME

the datetime

Evaluation

The datetime argument; which may be specified symbolically, is converted into an actual datetime. Then, the flag of the value in the series slot at that time is compared with the user input flags. If the flag is an “I” or “Z”, true is returned. An “i” is considered a user input within an iterative MRM run, but not a user input within a single run or outside of a run. The “R” flag is not considered an input.

Also, IsInput returns false if the slot[datetime] is NaN. But, this function does NOT terminate the executing rule if the value at the given datetime is a NaN.

See also the similar yet more general function HasFlag, See GetYearAsString.

 
IsInput(SanJuanData.Mexico Call, @"t")
 
TRUE or FALSE