Mojo function
is_defined
is_defined[name: StringSlice[StaticConstantOrigin]]() -> Bool
Return true if the named value is defined.
Parameters:
- name (
StringSlice
): The name to test.
Returns:
Bool
: True if the name is defined.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!