---
title: "isAppleGpu(): function in Emulated f64, TypeShade API"
description: "isAppleGpu, a function in Emulated f64. True when any signal identifies an Apple GPU / Metal-backed context."
url: https://typeshade.dev/api/isapplegpu/
language: en
---

# `isAppleGpu()`

Function in Emulated `f64`

True when any signal identifies an Apple GPU / Metal-backed context.

`import { isAppleGpu } from 'typeshade'`
`import { isAppleGpu } from 'typeshade/runtime'`

The signature, the description and the examples come from the compiler's own source at commit af54ddad5.

## Syntax

```ts
function isAppleGpu(s: Fp64FlavorSignals): boolean
```

## Parameters

**`s` `Fp64FlavorSignals`**

## Return value

`boolean`

## See also

- [`recommendFp64Flavor`](https://typeshade.dev/api/recommendfp64flavor/)

## Source

[`src/core/fp64/flavor-select.ts`, line 55](https://github.com/typeshade/typeshade/blob/af54ddad5/src/core/fp64/flavor-select.ts#L55), at commit af54ddad5
