Skip to main content

Mojo function

is_defined

is_defined[name: StringLiteral]() -> Bool

Return true if the named value is defined.

Parameters:

  • name (StringLiteral): The name to test.

Returns:

True if the name is defined.