Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

asArray

function asArray<T>(value?: T): T extends Array<any> ? T : T[];
§
asArray<T>(value?: T): T extends Array<any> ? T : T[]
[src]

§Type Parameters

§Parameters

§
value?: T optional
[src]

§Return Type

§
T extends Array<any> ? T : T[]
[src]