Apollo Elements Guides API Blog

Helpers: isClientOperation

Exports

import { isClientOperation } from '@apollo-elements/lib/is-client-operation';

isClientOperation

Helper to determine whether an operation is client-side-only

isClientOperation :: Operation -> Bool

Parameters

operation

Operation

Operation to check

Returns

boolean

Whether the operation is client-side-only, i.e. true when the Operation will make no network calls.