---
title: "kindFor"
sidebar_label: "kindFor"
description: "Kotlin binding reference: kindFor."
---

<!-- Generated by tools/api_reference/generate_api_docs.py. Do not edit. -->

//[clika-runtime](../../../index.md)/[io.clika.modelverse](../index.md)/[AutoModel](index.md)/[kindFor](kindFor.md)

# kindFor

[common]\
fun [kindFor](kindFor.md)(source: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html), options: [LoadOptions](../LoadOptions/index.md) = LoadOptions(), task: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)? = null): [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)

The door [source](kindFor.md) loads through, as its task: from [task](kindFor.md) when given, else from the family's modalities.