# Obsidian Help for Bases doesn't document the URL data type

**URL:** <https://forum.obsidian.md/t/obsidian-help-for-bases-doesnt-document-the-url-data-type/119245>\
**Category:** Help\
**Created:** [October 9, 2026, 6:42pm UTC](https://forum.obsidian.md/t/obsidian-help-for-bases-doesnt-document-the-url-data-type/119245 "2026-10-09T18:42:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![excalibud](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/e/d9b06d/32.png) [@excalibud](https://forum.obsidian.md/u/excalibud)\
**Post date:** [October 9, 2026, 6:42pm UTC](https://forum.obsidian.md/t/obsidian-help-for-bases-doesnt-document-the-url-data-type/119245/1 "2026-10-09T18:42:18Z")

</div>

In Bases, applying `link()` to a string containing a URL returns a URL data type rather than the usual Link type. However, this behavior is not documented at [Functions - Obsidian Help](https://obsidian.md/help/bases/functions) , which instead implies that `link()` always returns a Link type.

Additionally, [Bases syntax - Obsidian Help](https://obsidian.md/help/bases/syntax#Types) has a list of data types, but the URL type is not listed among them. The only hint of the URL type I could find in the Bases Help documentation is that it shows up as an acceptable input type to the functions `file()` and `image()`.

I only noticed this because I was using a formula like `link(x).asFile()` and had to track type errors that were popping up due to `asFile()` not being defined for the URL type. It would be helpful if the Help documentation more explicitly made note of the URL type and its relationship to the `link()` function and any other relevant info about it.

---

<div class="post-metadata">

**Author:** ![dawni](https://forum.obsidian.md/user_avatar/forum.obsidian.md/dawni/32/79261_2.png) [@dawni](https://forum.obsidian.md/u/dawni)\
**Post date:** [October 9, 2026, 7:45pm UTC](https://forum.obsidian.md/t/obsidian-help-for-bases-doesnt-document-the-url-data-type/119245/2 "2026-10-09T19:45:15Z")

</div>

I’m glad you brought this up. I’ve come across other undocumented types, or if mentioned then hard to find references to. Even just a list of all the types would be helpful.

The team takes help-docs suggestions through pull requests at [https://github.com/obsidianmd/obsidian-help/issues](https://github.com/obsidianmd/obsidian-help/issues) instead of on the forum, if you want to formally request or suggest it.

Still, I think your topic here is good for drawing conversation and ideas about it.

For a slightly related gripe: I had hoped Obsidian would make a type function that returned a string of the type. But at least they gave us the boolean.

---

<div class="post-metadata">

**Author:** ![excalibud](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/e/d9b06d/32.png) [@excalibud](https://forum.obsidian.md/u/excalibud)\
**Post date:** [October 9, 2026, 8:26pm UTC](https://forum.obsidian.md/t/obsidian-help-for-bases-doesnt-document-the-url-data-type/119245/3 "2026-10-09T20:26:28Z")

</div>

Thanks for the heads up, I submitted an issue at [Obsidian Help for Bases doesn’t document the URL data type · Issue #1144 · obsidianmd/obsidian-help · GitHub](https://github.com/obsidianmd/obsidian-help/issues/1144) .

Agreed that a full list of all Bases data types at [Bases syntax - Obsidian Help](https://obsidian.md/help/bases/syntax#Types) would be very much welcome, assuming there are other types besides the ones listed and the unlisted URL type (as you seem to imply). And also agreed that something like a `type()` function returning a variable’s type as a string would be a very helpful addition.
