cadence
Creates a template function
Import
You can import the entire package and access the function:
_10import * as fcl from "@onflow/fcl"_10_10fcl.cadence(head, rest)
Or import directly the specific function:
_10import { cadence } from "@onflow/fcl"_10_10cadence(head, rest)
Parameters
head
- Type:
_10string | 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