API ReferenceType AliasesDataAssertionFnOn this pageDataAssertionFn()<T> type DataAssertionFn<T>: (data) => T; Represents a function used to assert the type of data. This function takes an unknown data and returns a specified type. Type Parameters Type ParameterDefault typeTunknown Parameters ParameterTypedataunknown Returns T