Skip to main content

Mojo function

is_triple

is_triple[triple: StringLiteral]() -> Bool

Returns True if the target triple of the compiler matches the input and False otherwise.

Parameters:

  • triple (StringLiteral): The triple value to be checked against.

Returns:

True if the triple matches and False otherwise.