Skip to content

Add an AS Equivalent to Option in Rust to the AS Standard Library #1410

@torch2424

Description

@torch2424

One thing about AS is that basic types cannot be nullable. However, I've been designing some APIs that need some nullable Basic types, and I've been working around them. But I think it'd be cool just to write up a quick equivalent to C#'s Nullable or Rust's Option.

I could super easily add this myself. I personally like C#'s interface more, but I think it should be named Optional. That way, it doesn't conflict with our already exisiting idea of nullability in the docs.

What do y'all think @dcodeIO @MaxGraey @jtenner @sirwillem ? 😄

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions