Result Type
This page deals with the JSON DB output as well as discussing the results or outputs of functions.
getAnime()
This function returns an Promise as such it’s an Asynchronous function needing to be await
-ed.
The promise consists of an Object which has the relevant data of the anime(if any).
Data Structure of getAnime()
This function’s output can be accessed as such:
searchAnime()
This function returns an Promise as such it’s an Asynchronous function needing to be await
-ed.
The promise consists of an Array, having Objects as it’s elements. Each Object is the data returned by DB.
Data Structure of searchAnime()
This function’s output can be accessed as such: