Logicfn
12 posts tagged with "Logicfn"
contains
The contains action contains actions. It belongs to the logicfn category within the system area.
Action Syntax
contains "text"
contains $variable
contains 123
Return Value
This function returns a
$result = contains
Valid sizes
Examples
// Basic Usage
$boolean = contains "text"
equals
The equals action tests for equality. It belongs to the logicfn category within the system area.
Action Syntax
equals 123
equals "text"
equals $variable
equals true|false
Return Value
This function returns a
$result = equals
Valid sizes
Examples
// Basic Usage
$boolean = equals 10
have
The have action checks for variables existance. It belongs to the logicfn category within the system area.
Action Syntax
have $variable
Return Value
This function returns a
$result = have
Valid sizes
Examples
// Basic Usage
$boolean = have $varname
is-date
The is-date action checks if a value is in date format (yyyy-mm-dd). It belongs to the logicfn category within the system area.
Action Syntax
is-date $variable
Return Value
This function returns a
$result = is-date
Valid sizes
Examples
// Basic Usage
$boolean = is-date $varname
is-greater-than
The is-greater-than action checks if a value is greater than another value. It belongs to the logicfn category within the system area.
Action Syntax
is-greater-than $variable $variable
is-greater-than $variable 123
is-greater-than $variable "text"
Return Value
This function returns a
is-group
The is-group action checks to see if value is a group (array). It belongs to the logicfn category within the system area.
Action Syntax
is-group $variable
Return Value
This function returns a
$result = is-group
Valid sizes
Examples
// Basic Usage
$boolean = is-group $varname
is-item
The is-item action checks to see if value is an item (object). It belongs to the logicfn category within the system area.
Action Syntax
is-item $variable
Return Value
This function returns a
$result = is-item
Valid sizes
Examples
// Basic Usage
$boolean = is-item $varname
is-less-than
The is-less-than action checks if a value is less than another value. It belongs to the logicfn category within the system area.
Action Syntax
is-less-than $variable $variable
is-less-than $variable 123
is-less-than $variable "text"
Return Value
This function returns a
is-number
The is-number action checks to see if value is a number. It belongs to the logicfn category within the system area.
Action Syntax
is-number $variable
Return Value
This function returns a
$result = is-number
Valid sizes
Examples
// Basic Usage
$boolean = is-number $varname
is-time
The is-time action checks if a value is in time format (hh:mm). It belongs to the logicfn category within the system area.
Action Syntax
is-time $variable
Return Value
This function returns a
$result = is-time
Valid sizes
Examples
// Basic Usage
$boolean = is-time $varname
missing
The missing action logic fn to test for missing variable. It belongs to the logicfn category within the system area.
Action Syntax
missing $variable
Return Value
This function returns a
$result = missing
Valid sizes
Examples
// Basic Usage
$boolean = missing $varname
not-equals
The not-equals action not equals. It belongs to the logicfn category within the system area.
Action Syntax
not-equals 123
not-equals "text"
not-equals $variable
not-equals true|false
Return Value
This function returns a
$result = not-equals
Valid sizes
Examples
// Basic Usage
$boolean = not-equals 10