This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Streaming function | |
description: A streaming function that continuously increments the cell value. | |
host: EXCEL | |
api_set: {} | |
script: | |
content: > | |
// Copyright (c) Microsoft Corporation. | |
// Licensed under the MIT License. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Streaming function | |
description: A streaming function that continuously increments the cell value. | |
host: EXCEL | |
api_set: {} | |
script: | |
content: > | |
/** @CustomFunction | |
* @description Increments the cell with a given amount at a specified interval in milliseconds. | |
* @param {number} amount - The amount to add to the cell value on each increment. | |
* @param {any} interval - The time in milliseconds to wait before the next increment on the cell. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function increment(amount: number, interval: any, invocation: CustomFunctions.StreamingInvocation<any[][]>): void { | |
var Entity1 = { | |
type: "Entity", | |
basicType: "Error", | |
basicValue: "#VALUE!", | |
text: "Entity 1", | |
properties: { | |
TestDouble: { type: "Double", basicType: "Double", basicValue: 1 }, | |
TestString: { type: "String", basicType: "String", basicValue: "Test" } | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Basic custom function | |
description: Calculates the volume of a sphere. | |
host: EXCEL | |
api_set: {} | |
script: | |
content: | | |
/** | |
* Calculates the volume of a sphere. | |
* @customfunction | |
* @param {number} radius |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Basic custom function (1) | |
description: Calculates the volume of a sphere. | |
host: EXCEL | |
api_set: {} | |
script: | |
content: | | |
/** | |
* Calculates the volume of a sphere. | |
* @customfunction | |
* @param {number} entityCase |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: custom function custom data sample | |
description: '' | |
host: EXCEL | |
api_set: {} | |
script: | |
content: |- | |
/** | |
* Create custom data. | |
* @customfunction | |
* @param {string} dataType |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Basic custom function (1) | |
description: Calculates the volume of a sphere. | |
host: EXCEL | |
api_set: {} | |
script: | |
content: |- | |
/** | |
* Create custom data. | |
* @customfunction | |
* @param {string} dataType |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Basic custom function (1) | |
description: Calculates the volume of a sphere. | |
host: EXCEL | |
api_set: {} | |
script: | |
content: | | |
/** | |
* Calculates the volume of a sphere. | |
* @customfunction | |
* @param {number} entityCase |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Custom Function Sample | |
description: '' | |
host: EXCEL | |
api_set: {} | |
script: | |
content: | | |
/** | |
* Create Entity from sales data. | |
* @customfunction | |
* @param {any[][]} data |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Basic custom function | |
description: Calculates the volume of a sphere. | |
host: EXCEL | |
api_set: {} | |
script: | |
content: | | |
/** | |
* Calculates the volume of a sphere. | |
* @customfunction | |
* @param {number} entityCase |
NewerOlder