Skip to main content

cadence

Creates a template function

Import

You can import the entire package and access the function:


_10
import * as fcl from "@onflow/fcl-react-native"
_10
_10
fcl.cadence(head, rest)

Or import directly the specific function:


_10
import { cadence } from "@onflow/fcl-react-native"
_10
_10
cadence(head, rest)

Parameters

  • Type:

_10
string | TemplateStringsArray | ((x?: unknown) => string)

  • Description: - A string, template string array, or template function

rest (optional)

  • Type: unknown[]
  • Description: - The rest of the arguments

Returns


_10
(x?: unknown) => string

A template function


Rate this page