Skip to content

Ngx meta.withoptions

Home > @davidlj95/ngx-meta > withOptions

withOptions() function

Helper function to combine multiple options (objects).

In case of specifying same options more than once, the latter one will take precedence. Provide them sorted by ascendant priority. Less priority options first. Top priority options last.

Can be used to combine options for:

Signature:

withOptions: <T extends object>(...options: ReadonlyArray<T>) => T

Parameters

Parameter Type Description
options ReadonlyArray<T> Options to combine.

Returns:

T