Skip to main content

function

Function function 

Source
pub fn function<'a>(
    name: &str,
    args: Vec<Arg<'a, '_>>,
) -> Option<Result<Value<'a>>>
Expand description

Dispatches static constructors and Arr helpers with their array argument first.

Use collection:: or arr:: as the namespace. Static array operations whose signature differs from a collection method use the corresponding Laravel array signature.