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