Mojo function
is_triple
is_triple[name: StringLiteral, target: target = current_target()]() -> Bool
Returns True if the target triple of the compiler matches the input and False otherwise.
Parameters:
- name (
StringLiteral
): The name of the triple value. - target (
target
): The triple value to be checked against.
Returns:
True if the triple matches and False otherwise.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!