mmir-tooling
Version:
Build tools for MMIR projects
174 lines (100 loc) • 4.46 kB
Markdown
**[mmir-tooling 7.0.0-beta1](../README.md)**
> [Globals](../README.md) / [mmir-lib](../modules/mmir_lib.md) / RequireJsDefine
* [Function](mmir_lib.requirejs.md
↳ **RequireJsDefine**
* [Function](mmir_lib.requirejsdefine.md
* [arguments](mmir_lib.requirejsdefine.md
* [caller](mmir_lib.requirejsdefine.md
* [length](mmir_lib.requirejsdefine.md
* [name](mmir_lib.requirejsdefine.md
* [prototype](mmir_lib.requirejsdefine.md
* [[Symbol.hasInstance]](mmir_lib.requirejsdefine.md
* [apply](mmir_lib.requirejsdefine.md
* [bind](mmir_lib.requirejsdefine.md
* [call](mmir_lib.requirejsdefine.md
* [toString](mmir_lib.requirejsdefine.md
• **Function**: FunctionConstructor
___
• **arguments**: any
*Inherited from [RequireJs](mmir_lib.requirejs.md).[arguments](mmir_lib.requirejs.md
___
• **caller**: [Function](mmir_lib.requirejs.md
*Inherited from [RequireJs](mmir_lib.requirejs.md).[caller](mmir_lib.requirejs.md
___
• `Readonly` **length**: number
*Inherited from [RequireJs](mmir_lib.requirejs.md).[length](mmir_lib.requirejs.md
___
• `Readonly` **name**: string
*Inherited from [RequireJs](mmir_lib.requirejs.md).[name](mmir_lib.requirejs.md
Returns the name of the function. Function names are read-only and can not be changed.
___
• **prototype**: any
*Inherited from [RequireJs](mmir_lib.requirejs.md).[prototype](mmir_lib.requirejs.md
▸ **[Symbol.hasInstance]**(`value`: any): boolean
*Inherited from [RequireJs](mmir_lib.requirejs.md).[[Symbol.hasInstance]](mmir_lib.requirejs.md
Determines whether the given value inherits from this function if this function was used
as a constructor function.
A constructor function can control which objects are recognized as its instances by
'instanceof' by overriding this method.
Name | Type |
------ | ------ |
`value` | any |
**Returns:** boolean
___
▸ **apply**(`this`: [Function](mmir_lib.requirejs.md
*Inherited from [RequireJs](mmir_lib.requirejs.md).[apply](mmir_lib.requirejs.md
Calls the function, substituting the specified object for the this value of the function, and the specified array for the arguments of the function.
Name | Type | Description |
------ | ------ | ------ |
`this` | [Function](mmir_lib.requirejs.md
`thisArg` | any | The object to be used as the this object. |
`argArray?` | any | A set of arguments to be passed to the function. |
**Returns:** any
___
▸ **bind**(`this`: [Function](mmir_lib.requirejs.md
*Inherited from [RequireJs](mmir_lib.requirejs.md).[bind](mmir_lib.requirejs.md
For a given function, creates a bound function that has the same body as the original function.
The this object of the bound function is associated with the specified object, and has the specified initial parameters.
Name | Type | Description |
------ | ------ | ------ |
`this` | [Function](mmir_lib.requirejs.md
`thisArg` | any | An object to which the this keyword can refer inside the new function. |
`...argArray` | any[] | A list of arguments to be passed to the new function. |
**Returns:** any
___
▸ **call**(`this`: [Function](mmir_lib.requirejs.md
*Inherited from [RequireJs](mmir_lib.requirejs.md).[call](mmir_lib.requirejs.md
Calls a method of an object, substituting another object for the current object.
Name | Type | Description |
------ | ------ | ------ |
`this` | [Function](mmir_lib.requirejs.md
`thisArg` | any | The object to be used as the current object. |
`...argArray` | any[] | A list of arguments to be passed to the method. |
**Returns:** any
___
▸ **toString**(): string
*Inherited from [RequireJs](mmir_lib.requirejs.md).[toString](mmir_lib.requirejs.md
Returns a string representation of a function.
**Returns:** string