From f82cff9c19ec5c1cd9cbf5944271d3b04d2efe72 Mon Sep 17 00:00:00 2001 From: Ozzie Gooen Date: Sat, 24 Sep 2022 10:13:20 -0400 Subject: [PATCH] Delete Function.md --- packages/website/docs/Api/Function.md | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 packages/website/docs/Api/Function.md diff --git a/packages/website/docs/Api/Function.md b/packages/website/docs/Api/Function.md deleted file mode 100644 index 1c08bb8f..00000000 --- a/packages/website/docs/Api/Function.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -sidebar_position: 6 -title: Function ---- - -## declare (experimental) - -Adds metadata to a function of the input ranges. Works now for numeric and date inputs. This is useful when making formal predictions. It allows you to limit the domain that your prediction will be used and scored within. - -The one function that declarations currently have is that they impact plotting. If you `declare` a single-variable function within a specific range, this specific range will be plotted. - -Declarations are currently experimental and will likely be removed or changed in the future. - -``` -Function.declare: (dict<{fn: lambda, inputs: array>}>) => declaration -``` - -**Examples** - -```javascript -Function.declare({ - fn: {|a| a+10 }, - inputs: [ - {min: 30, max: 100} - ] -}) -```