--- title: "className (Class name)" slug: "calc-function-class-name" updated: 2026-05-12T13:44:53Z published: 2026-05-12T13:44:53Z canonical: "docs.lobstersoftware.com/calc-function-class-name" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # className (Class name) > [!NOTE] > Attempts to determine the class name of a value. > > > [!TIP] > > Tooltip > > > > Syntax: *$className(object)* > > > > | Parameter | Description | > > | --- | --- | > > | `object` | Any value whose class name is determined. | > > > > If the *input value* is empty (zero), nothing (zero) is returned. > > > > Example: $className($true) → Boolean ## Syntax *$className(any)* ## Parameter | Name | Description | | --- | --- | | `object` | Any value whose class name is determined. | ## Return value The class name of the *input value*. ## Examples | Syntax | Result | | --- | --- | | $*className*($null) | null | | $*className*($true) | Boolean |