new FunctionContext(contextopt, modelopt, targetopt)
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
context |
DataContext |
<optional> |
|
model |
DataModel |
<optional> |
|
target |
* |
<optional> |
- Source:
Members
context :DataContext
Type:
- Source:
model :DataModel
<<<<<<< HEAD ======= >>>>>>> 17c18384399eb4517cbedf593f523886db181e2a <<<<<<< HEADType:
-
DataModel
=======
Type:
- DataModel >>>>>>> 17c18384399eb4517cbedf593f523886db181e2a
- Source:
target :*
Type:
- *
- Source:
Methods
<<<<<<< HEADchars(length) → {Promise|*}
=======chars(length) → {Promise.<T>|*}
>>>>>>> 17c18384399eb4517cbedf593f523886db181e2a <<<<<<< HEAD ======= >>>>>>> 17c18384399eb4517cbedf593f523886db181e2aParameters:
Name Type Description <<<<<<< HEAD =======length
length
number >>>>>>> 17c18384399eb4517cbedf593f523886db181e2a number >>>>>>> 17c18384399eb4517cbedf593f523886db181e2a - Source:
Returns:
- Type
- <<<<<<< HEAD Promise ======= Promise.<T> >>>>>>> 17c18384399eb4517cbedf593f523886db181e2a | *
int(min, max) → {Promise|*}
=======int(min, max) → {Promise.<T>|*}
>>>>>>> 17c18384399eb4517cbedf593f523886db181e2aGenerates a random integer value between the given minimum and maximum valueParameters:
Name Type Description min
number max
number - Source:
Returns:
- Type
-
Promise
|
*
=======
Returns:
- Type
- Promise.<T> | * >>>>>>> 17c18384399eb4517cbedf593f523886db181e2a
me() → {Promise|*}
=======me() → {Promise.<T>|*}
>>>>>>> 17c18384399eb4517cbedf593f523886db181e2a- Source:
Returns:
- Type
- <<<<<<< HEAD Promise ======= Promise.<T> >>>>>>> 17c18384399eb4517cbedf593f523886db181e2a | *
newGuid() → {Promise|*}
=======newGuid() → {Promise.<T>|*}
>>>>>>> 17c18384399eb4517cbedf593f523886db181e2a- Source:
Returns:
- Type
- <<<<<<< HEAD Promise ======= Promise.<T> >>>>>>> 17c18384399eb4517cbedf593f523886db181e2a | *
newid() → {Promise|*}
=======newid() → {Promise.<T>|*}
>>>>>>> 17c18384399eb4517cbedf593f523886db181e2a- Source:
Returns:
- Type
- <<<<<<< HEAD Promise ======= Promise.<T> >>>>>>> 17c18384399eb4517cbedf593f523886db181e2a | *
now() → {Promise|*}
=======now() → {Promise.<T>|*}
>>>>>>> 17c18384399eb4517cbedf593f523886db181e2a- Source:
Returns:
- Type
- <<<<<<< HEAD Promise ======= Promise.<T> >>>>>>> 17c18384399eb4517cbedf593f523886db181e2a | *
password(length) → {Promise|*}
=======password(length) → {Promise.<T>|*}
>>>>>>> 17c18384399eb4517cbedf593f523886db181e2aParameters:
Name Type Description length
number - Source:
Returns:
- Type
- <<<<<<< HEAD Promise ======= Promise.<T> >>>>>>> 17c18384399eb4517cbedf593f523886db181e2a | *
today() → {Promise|*}
=======today() → {Promise.<T>|*}
>>>>>>> 17c18384399eb4517cbedf593f523886db181e2a- Source:
Returns:
- Type
- <<<<<<< HEAD Promise ======= Promise.<T> >>>>>>> 17c18384399eb4517cbedf593f523886db181e2a | *
user() → {Promise|*}
=======user() → {Promise.<T>|*}
>>>>>>> 17c18384399eb4517cbedf593f523886db181e2a- Source:
Returns:
- Type
- <<<<<<< HEAD Promise ======= Promise.<T> >>>>>>> 17c18384399eb4517cbedf593f523886db181e2a | *