Improved consistency of function names

This commit is contained in:
Ben Ashton 2022-10-20 21:49:09 -06:00
parent d120749cde
commit b8a8b0e258

View File

@ -160,29 +160,29 @@ function hasParam() {
# $1: key
# $2: (optional) index for accessing array parameters
function queryGet() {
function query() {
_multiGet _exprashQuery "$1" "$2"
}
# $1: key
function queryHas() {
function hasQuery() {
_multiHas _exprashQuery "$1"
}
# $1: key
function queryLen() {
function lenQuery() {
_multiLen _exprashQuery "$1"
}
# $1: key
# $2: (optional) index for accessing array parameters
function bodyGet() {
function body() {
_multiGet _exprashBody "$1" "$2"
}
# $1: key
function bodyHas() {
function hasBody() {
_multiHas _exprashBody "$1"
}
# $1: key
function bodyLen() {
function lenBody() {
_multiLen _exprashBody "$1"
}