Skip to main content

Mojo function

alignof

alignof[type: AnyType, target: target = _current_target()]() -> Int

Deprecated:

Use sys.align_of() instead.

Returns:

Int

alignof[dtype: DType, target: target = _current_target()]() -> Int

Deprecated:

Use sys.align_of() instead.

Returns:

Int

Was this page helpful?