Skip to main content
Log in

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.

Was this page helpful?