Version: v0.7.1 - Beta.  We welcome contributors & feedback.

Input.fieldNames

Input.fieldNames($method) -> list

Description

Get the names of all fields in the request.

$method can be get or post.

// Post data:
//   userId = 1234, age = 33

fn mainPost {

    Input.fieldNames('post')
    //= ['userId', 'age']
}

See Also