diff options
author | Stephen Dolan <mu@netsoc.tcd.ie> | 2013-05-06 02:34:02 +0100 |
---|---|---|
committer | Stephen Dolan <mu@netsoc.tcd.ie> | 2013-05-06 02:34:02 +0100 |
commit | cacda19e75f878e4274574eed01829f92ede7b72 (patch) | |
tree | ea76bebeef83ff5f1fa25179cb9ac9b44b038ff2 /docs/content | |
parent | 7f979cf1c746dfde7302eb7e7891c377a007a013 (diff) |
Add documentation for "type".
Closes #75.
Diffstat (limited to 'docs/content')
-rw-r--r-- | docs/content/3.manual/manual.yml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/content/3.manual/manual.yml b/docs/content/3.manual/manual.yml index 166a385a..374d5046 100644 --- a/docs/content/3.manual/manual.yml +++ b/docs/content/3.manual/manual.yml @@ -537,6 +537,18 @@ sections: input: '[1, "1", [1]]' output: ['"1"', '"1"', '"[1]"'] + - title: `type` + body: | + + The `type` function returns the type of its argument as a + string, which is one of null, boolean, number, string, array + or object. + + examples: + - program: 'map(type)' + input: '[0, false, [], {}, null, "hello"]' + output: ['["number", "boolean", "array", "object", "null", "string"]'] + - title: `sort, sort_by` body: | |